Mercurial > hg > orthanc-stone
diff Framework/Toolbox/FiniteProjectiveCamera.cpp @ 1308:adf234ecaa00 broker
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 10:21:54 +0100 |
parents | 8a0a62189f46 |
children | 30deba7bc8e2 |
line wrap: on
line diff
--- a/Framework/Toolbox/FiniteProjectiveCamera.cpp Wed Mar 04 10:07:37 2020 +0100 +++ b/Framework/Toolbox/FiniteProjectiveCamera.cpp Wed Mar 04 10:21:54 2020 +0100 @@ -434,7 +434,7 @@ // to the line joining the camera center and the principal point const VolumeProjection projection = VolumeProjection_Axial; - std::auto_ptr<Orthanc::ImageAccessor> target + std::unique_ptr<Orthanc::ImageAccessor> target (new Orthanc::Image(targetFormat, targetWidth, targetHeight, false)); if (targetFormat == Orthanc::PixelFormat_Grayscale16 &&