Mercurial > hg > orthanc
diff Core/DicomParsing/Internals/DicomFrameIndex.h @ 3712:2a170a8f1faf
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 15:32:45 +0100 |
parents | 94f4a18a79cc |
children | 113a7b994a12 |
line wrap: on
line diff
--- a/Core/DicomParsing/Internals/DicomFrameIndex.h Fri Feb 28 13:23:11 2020 +0100 +++ b/Core/DicomParsing/Internals/DicomFrameIndex.h Mon Mar 02 15:32:45 2020 +0100 @@ -33,6 +33,7 @@ #pragma once +#include "../../Compatibility.h" #include "../../Enumerations.h" #include <dcmtk/dcmdata/dcdatset.h> @@ -62,8 +63,8 @@ class UncompressedIndex; class PsmctRle1Index; - std::auto_ptr<IIndex> index_; - unsigned int countFrames_; + std::unique_ptr<IIndex> index_; + unsigned int countFrames_; public: DicomFrameIndex(DcmFileFormat& dicom);