Mercurial > hg > orthanc-stone
comparison Framework/Volumes/DicomVolumeImageMPRSlicer.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 | 6ab03e429f06 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
74 { | 74 { |
75 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer, | 75 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer, |
76 "A style configurator is mandatory for textures"); | 76 "A style configurator is mandatory for textures"); |
77 } | 77 } |
78 | 78 |
79 std::auto_ptr<TextureBaseSceneLayer> texture; | 79 std::unique_ptr<TextureBaseSceneLayer> texture; |
80 | 80 |
81 { | 81 { |
82 const DicomInstanceParameters& parameters = volume_.GetDicomParameters(); | 82 const DicomInstanceParameters& parameters = volume_.GetDicomParameters(); |
83 ImageBuffer3D::SliceReader reader(volume_.GetPixelData(), projection_, sliceIndex_); | 83 ImageBuffer3D::SliceReader reader(volume_.GetPixelData(), projection_, sliceIndex_); |
84 | 84 |