comparison Framework/Deprecated/Toolbox/Slice.h @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 2d8ab34c8c91
children 30deba7bc8e2
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
57 double thickness_; 57 double thickness_;
58 unsigned int width_; // TODO : Redundant with "imageInformation_" 58 unsigned int width_; // TODO : Redundant with "imageInformation_"
59 unsigned int height_; // TODO : Redundant with "imageInformation_" 59 unsigned int height_; // TODO : Redundant with "imageInformation_"
60 DicomFrameConverter converter_; // TODO : Partially redundant with "imageInformation_" 60 DicomFrameConverter converter_; // TODO : Partially redundant with "imageInformation_"
61 61
62 std::auto_ptr<Orthanc::DicomImageInformation> imageInformation_; 62 std::unique_ptr<Orthanc::DicomImageInformation> imageInformation_;
63 63
64 public: 64 public:
65 Slice() : 65 Slice() :
66 type_(Type_Invalid) 66 type_(Type_Invalid)
67 { 67 {