Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/SlicesSorter.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 | 7ec8fea061b9 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
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), |