comparison 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
comparison
equal deleted inserted replaced
11:4b7e0244881f 12:9220cf4a63d5
108 108
109 std::ostream& operator<< (const std::string& message) 109 std::ostream& operator<< (const std::string& message)
110 { 110 {
111 return (*stream_) << message; 111 return (*stream_) << message;
112 } 112 }
113
114 // This overload fixes build problems with Visual Studio 2015
115 std::ostream& operator<< (const char* message)
116 {
117 return (*stream_) << message;
118 }
113 }; 119 };
114 } 120 }
115 } 121 }
116 122
117 #endif // ORTHANC_ENABLE_LOGGING 123 #endif // ORTHANC_ENABLE_LOGGING