diff Framework/Orthanc/Core/Logging.h @ 39:533cbc4d520c

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 14:17:33 +0100
parents dc730d11b101
children 5f4e367f7b0d
line wrap: on
line diff
--- a/Framework/Orthanc/Core/Logging.h	Tue Nov 08 10:51:48 2016 +0100
+++ b/Framework/Orthanc/Core/Logging.h	Wed Nov 09 14:17:33 2016 +0100
@@ -110,6 +110,12 @@
       {
         return (*stream_) << message;
       }
+
+      // This overload fixes build problems with Visual Studio 2015
+      std::ostream& operator<< (const char* message)
+      {
+        return (*stream_) << message;
+      }
     };
   }
 }