comparison Framework/Volumes/DicomVolumeImageReslicer.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 2d8ab34c8c91
children 30deba7bc8e2
comparison
equal deleted inserted replaced
1297:6ab03e429f06 1299:c38c89684d83
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;