Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp @ 4288:5b254bd435d3
fix for VS2008
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Nov 2020 18:26:44 +0100 |
parents | 544120b34c09 |
children | fcbac3e8ac1c |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp Wed Nov 04 17:48:11 2020 +0100 +++ b/OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp Wed Nov 04 18:26:44 2020 +0100 @@ -674,8 +674,8 @@ } { - std::stringstream s; // This is necessary for VS2008 - s << DcmObject::PrintHelper(dataset); + std::stringstream s; // DcmObject::PrintHelper cannot be used with VS2008 + dataset.print(s); OFString str; CLOG(TRACE, DICOM) << "Sending Storage Commitment Report:" << std::endl @@ -837,8 +837,8 @@ } { - std::stringstream s; // This is necessary for VS2008 - s << DcmObject::PrintHelper(dataset); + std::stringstream s; // DcmObject::PrintHelper cannot be used with VS2008 + dataset.print(s); OFString str; CLOG(TRACE, DICOM) << "Sending Storage Commitment Request:" << std::endl