Mercurial > hg > orthanc-stone
diff Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp @ 1471:28c64c246312
working on a shared library
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 12:57:54 +0200 |
parents | 30deba7bc8e2 |
children |
line wrap: on
line diff
--- a/Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp Fri Jun 12 17:38:07 2020 +0200 +++ b/Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp Mon Jun 15 12:57:54 2020 +0200 @@ -28,6 +28,7 @@ #include "../Toolbox/GeometryToolbox.h" #include "../Volumes/DicomVolumeImageMPRSlicer.h" +#include <Compatibility.h> #include <Images/ImageProcessing.h> #include <OrthancException.h> @@ -528,7 +529,7 @@ boost::shared_ptr<OrthancStone::DicomVolumeImage> volume, bool progressiveQuality) { - std::auto_ptr<OrthancStone::ILoadersContext::ILock> lock(loadersContext.Lock()); + std::unique_ptr<OrthancStone::ILoadersContext::ILock> lock(loadersContext.Lock()); boost::shared_ptr<OrthancSeriesVolumeProgressiveLoader> obj( new OrthancSeriesVolumeProgressiveLoader(