Mercurial > hg > orthanc
diff OrthancFramework/Sources/Logging.h @ 4313:91554aecff9a
removed a friend method for better abi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Nov 2020 16:09:05 +0100 |
parents | 0923247e69f6 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Logging.h Mon Nov 09 15:22:43 2020 +0100 +++ b/OrthancFramework/Sources/Logging.h Mon Nov 09 16:09:05 2020 +0100 @@ -24,6 +24,7 @@ // To have ORTHANC_ENABLE_LOGGING defined if using the shared library #include "OrthancFramework.h" +#include "Compatibility.h" #include <iostream> @@ -112,7 +113,7 @@ ORTHANC_PUBLIC void SetTargetFolder(const std::string& path); - struct NullStream : public std::ostream + struct ORTHANC_LOCAL NullStream : public std::ostream { NullStream() : std::ios(0), @@ -224,8 +225,6 @@ #if (ORTHANC_ENABLE_LOGGING == 1 && \ ORTHANC_ENABLE_LOGGING_STDIO == 0) -#include "Compatibility.h" // For std::unique_ptr<> - #include <boost/lexical_cast.hpp> #include <boost/noncopyable.hpp> #include <boost/thread/mutex.hpp>