Mercurial > hg > orthanc-stone
diff Framework/Loaders/OrthancMultiframeVolumeLoader.cpp @ 994:1f74bc3459ba
fix build due to rename in Orthanc::DicomMap
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Sep 2019 08:27:12 +0200 |
parents | a7351ad54960 |
children | e713f1a99861 391fb6d6905d |
line wrap: on
line diff
--- a/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp Wed Sep 11 12:33:12 2019 +0200 +++ b/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp Thu Sep 12 08:27:12 2019 +0200 @@ -58,7 +58,7 @@ static std::string GetSopClassUid(const Orthanc::DicomMap& dicom) { std::string s; - if (!dicom.CopyToString(s, Orthanc::DICOM_TAG_SOP_CLASS_UID, false)) + if (!dicom.LookupStringValue(s, Orthanc::DICOM_TAG_SOP_CLASS_UID, false)) { throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat, "DICOM file without SOP class UID");