Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancGetRequestHandler.cpp @ 4288:5b254bd435d3
fix for VS2008
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Nov 2020 18:26:44 +0100 |
parents | 5a3374b6e707 |
children | 91554aecff9a |
comparison
equal
deleted
inserted
replaced
4287:5a3374b6e707 | 4288:5b254bd435d3 |
---|---|
398 isContinue = true; | 398 isContinue = true; |
399 } | 399 } |
400 | 400 |
401 if (stDetail.get() != NULL) | 401 if (stDetail.get() != NULL) |
402 { | 402 { |
403 // It is impossible to directly use the "<<" stream construct | 403 std::stringstream s; // DcmObject::PrintHelper cannot be used with VS2008 |
404 // with "DcmObject::PrintHelper" using MSVC2008 | 404 stDetail->print(s); |
405 std::stringstream s; | |
406 DcmObject::PrintHelper obj(*stDetail); | |
407 obj.dcmobj_.print(s); | |
408 | |
409 CLOG(INFO, DICOM) << " Status Detail: " << s.str(); | 405 CLOG(INFO, DICOM) << " Status Detail: " << s.str(); |
410 } | 406 } |
411 | 407 |
412 return isContinue; | 408 return isContinue; |
413 } | 409 } |