Mercurial > hg > orthanc-stone
comparison Framework/Volumes/VolumeSceneLayerSource.h @ 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 | 2d8ab34c8c91 |
children | 3d26447ddd28 |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
39 { | 39 { |
40 private: | 40 private: |
41 Scene2D& scene_; | 41 Scene2D& scene_; |
42 int layerDepth_; | 42 int layerDepth_; |
43 boost::shared_ptr<IVolumeSlicer> slicer_; | 43 boost::shared_ptr<IVolumeSlicer> slicer_; |
44 std::auto_ptr<ILayerStyleConfigurator> configurator_; | 44 std::unique_ptr<ILayerStyleConfigurator> configurator_; |
45 std::auto_ptr<CoordinateSystem3D> lastPlane_; | 45 std::unique_ptr<CoordinateSystem3D> lastPlane_; |
46 uint64_t lastRevision_; | 46 uint64_t lastRevision_; |
47 uint64_t lastConfiguratorRevision_; | 47 uint64_t lastConfiguratorRevision_; |
48 | 48 |
49 void ClearLayer(); | 49 void ClearLayer(); |
50 | 50 |