Mercurial > hg > orthanc
changeset 3473:37e908965e5a
improved detection of threads for ILogger
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 15 Jul 2019 16:48:23 +0200 |
parents | 1fdbe5885783 |
children | 3355a2c060c4 |
files | Resources/Samples/CppHelpers/Logging/ILogger.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/Samples/CppHelpers/Logging/ILogger.h Thu Jul 11 13:29:50 2019 +0200 +++ b/Resources/Samples/CppHelpers/Logging/ILogger.h Mon Jul 15 16:48:23 2019 +0200 @@ -36,7 +36,7 @@ // check LogContext class for more details class BaseLogger : public ILogger { -#if defined(BOOST_ENABLE_THREADS) +#if ORTHANC_ENABLE_THREADS == 1 boost::thread_specific_ptr<std::vector<std::string>> contexts_; #else std::auto_ptr<std::vector<std::string>> contexts_;