changeset 4445:5e6b5fef92f8

fix LOG() in OrthancPluginCppWrapper.cpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 13 Jan 2021 10:32:34 +0100
parents 11ea0a05115b
children 19e8540064d8
files OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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