Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/ParsedDicomCache.cpp @ 1299:c38c89684d83 broker
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 17:21:24 +0100 |
parents | 0ca50d275b9a |
children |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
24 namespace OrthancStone | 24 namespace OrthancStone |
25 { | 25 { |
26 class ParsedDicomCache::Item : public Orthanc::ICacheable | 26 class ParsedDicomCache::Item : public Orthanc::ICacheable |
27 { | 27 { |
28 private: | 28 private: |
29 std::auto_ptr<Orthanc::ParsedDicomFile> dicom_; | 29 std::unique_ptr<Orthanc::ParsedDicomFile> dicom_; |
30 size_t fileSize_; | 30 size_t fileSize_; |
31 bool hasPixelData_; | 31 bool hasPixelData_; |
32 | 32 |
33 public: | 33 public: |
34 Item(Orthanc::ParsedDicomFile* dicom, | 34 Item(Orthanc::ParsedDicomFile* dicom, |