comparison Framework/Toolbox/SlicesSorter.cpp @ 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 257f2c9a02ac
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
31 { 31 {
32 private: 32 private:
33 CoordinateSystem3D geometry_; 33 CoordinateSystem3D geometry_;
34 double depth_; 34 double depth_;
35 35
36 std::auto_ptr<Orthanc::IDynamicObject> payload_; 36 std::unique_ptr<Orthanc::IDynamicObject> payload_;
37 37
38 public: 38 public:
39 SliceWithDepth(const CoordinateSystem3D& geometry, 39 SliceWithDepth(const CoordinateSystem3D& geometry,
40 Orthanc::IDynamicObject* payload) : 40 Orthanc::IDynamicObject* payload) :
41 geometry_(geometry), 41 geometry_(geometry),