changeset 3962:d30eb4ae5bb6

trying a fix for msvc2008
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 May 2020 20:53:59 +0200
parents 4d36d6e64c6d
children 3b0c555f16a3
files OrthancServer/OrthancGetRequestHandler.cpp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/OrthancGetRequestHandler.cpp	Wed May 20 18:37:31 2020 +0200
+++ b/OrthancServer/OrthancGetRequestHandler.cpp	Wed May 20 20:53:59 2020 +0200
@@ -48,6 +48,8 @@
 #include "ServerContext.h"
 #include "ServerJobs/DicomModalityStoreJob.h"
 
+#include <sstream>  // For std::stringstream
+
 
 namespace Orthanc
 {
@@ -395,7 +397,9 @@
     
     if (stDetail.get() != NULL)
     {
-      LOG(INFO) << "  Status Detail:" << OFendl << DcmObject::PrintHelper(*stDetail);
+      std::stringstream s;
+      s << DcmObject::PrintHelper(*stDetail);
+      LOG(INFO) << "  Status Detail:" << OFendl << s.str();
     }
     
     return cond;