Mercurial > hg > orthanc-stone
comparison Framework/Volumes/DicomVolumeImageReslicer.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 | 30deba7bc8e2 |
comparison
equal
deleted
inserted
replaced
1296:86400fa16091 | 1298:8a0a62189f46 |
---|---|
65 that_.volume_->GetGeometry(), | 65 that_.volume_->GetGeometry(), |
66 cuttingPlane); | 66 cuttingPlane); |
67 | 67 |
68 if (reslicer.IsSuccess()) | 68 if (reslicer.IsSuccess()) |
69 { | 69 { |
70 std::auto_ptr<TextureBaseSceneLayer> layer | 70 std::unique_ptr<TextureBaseSceneLayer> layer |
71 (configurator->CreateTextureFromDicom(reslicer.GetOutputSlice(), | 71 (configurator->CreateTextureFromDicom(reslicer.GetOutputSlice(), |
72 that_.volume_->GetDicomParameters())); | 72 that_.volume_->GetDicomParameters())); |
73 if (layer.get() == NULL) | 73 if (layer.get() == NULL) |
74 { | 74 { |
75 return NULL; | 75 return NULL; |