comparison Framework/Volumes/VolumeSceneLayerSource.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 3d26447ddd28
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
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