diff OrthancCppClient/HttpClient.h @ 474:a9693dc7089c

move tostring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jul 2013 17:25:53 +0200
parents c9a5d72f8481
children 72cca077abf8
line wrap: on
line diff
--- a/OrthancCppClient/HttpClient.h	Mon Jul 15 17:22:13 2013 +0200
+++ b/OrthancCppClient/HttpClient.h	Mon Jul 15 17:25:53 2013 +0200
@@ -29,6 +29,8 @@
 
 #include "HttpException.h"
 
+#include "../Core/Toolbox.h"
+
 #include <string>
 #include <boost/shared_ptr.hpp>
 #include <json/json.h>
@@ -112,7 +114,7 @@
 
     const char* GetLastStatusText() const
     {
-      return HttpException::GetDescription(lastStatus_);
+      return Toolbox::ToString(lastStatus_);
     }
 
     void SetCredentials(const char* username,