diff Framework/Orthanc/Core/Logging.h @ 12:9220cf4a63d5

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 14:14:34 +0100
parents 2dbe613f6c93
children 0b9034112fde
line wrap: on
line diff
--- a/Framework/Orthanc/Core/Logging.h	Wed Oct 26 12:14:03 2016 +0200
+++ b/Framework/Orthanc/Core/Logging.h	Wed Nov 09 14:14:34 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;
+      }
     };
   }
 }