# HG changeset patch # User Sebastien Jodogne # Date 1610530354 -3600 # Node ID 5e6b5fef92f813183284a7c23952ffc83f09b3d1 # Parent 11ea0a05115b6becd4fc8baedf35045aafaf1830 fix LOG() in OrthancPluginCppWrapper.cpp diff -r 11ea0a05115b -r 5e6b5fef92f8 OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Wed Jan 13 09:19:32 2021 +0100 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Wed Jan 13 10:32:34 2021 +0100 @@ -337,7 +337,7 @@ } else { - LOG(ERROR) << "Cannot parse JSON: " << err; + LogError("Cannot parse JSON: " + std::string(err)); return false; } #endif