comparison OrthancServer/OrthancGetRequestHandler.cpp @ 3962:d30eb4ae5bb6

trying a fix for msvc2008
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 May 2020 20:53:59 +0200
parents 76a24be12912
children 3b0c555f16a3
comparison
equal deleted inserted replaced
3960:4d36d6e64c6d 3962:d30eb4ae5bb6
46 #include "../Core/MetricsRegistry.h" 46 #include "../Core/MetricsRegistry.h"
47 #include "OrthancConfiguration.h" 47 #include "OrthancConfiguration.h"
48 #include "ServerContext.h" 48 #include "ServerContext.h"
49 #include "ServerJobs/DicomModalityStoreJob.h" 49 #include "ServerJobs/DicomModalityStoreJob.h"
50 50
51 #include <sstream> // For std::stringstream
52
51 53
52 namespace Orthanc 54 namespace Orthanc
53 { 55 {
54 namespace 56 namespace
55 { 57 {
393 LOG(ERROR) << "C-GET SCP: storeSCU: Store Request Failed: " << DimseCondition::dump(temp_str, cond); 395 LOG(ERROR) << "C-GET SCP: storeSCU: Store Request Failed: " << DimseCondition::dump(temp_str, cond);
394 } 396 }
395 397
396 if (stDetail.get() != NULL) 398 if (stDetail.get() != NULL)
397 { 399 {
398 LOG(INFO) << " Status Detail:" << OFendl << DcmObject::PrintHelper(*stDetail); 400 std::stringstream s;
401 s << DcmObject::PrintHelper(*stDetail);
402 LOG(INFO) << " Status Detail:" << OFendl << s.str();
399 } 403 }
400 404
401 return cond; 405 return cond;
402 } 406 }
403 407