diff Applications/Samples/Common/RtViewerView.cpp @ 1896:b3c08e607d9f

simplified signature of DicomStructureSet::ProjectStructure()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Jan 2022 17:19:37 +0100
parents 7053b8a0aaec
children c7bc9e1776a6
line wrap: on
line diff
--- a/Applications/Samples/Common/RtViewerView.cpp	Wed Jan 19 14:51:55 2022 +0100
+++ b/Applications/Samples/Common/RtViewerView.cpp	Wed Jan 26 17:19:37 2022 +0100
@@ -206,7 +206,7 @@
 
   void RtViewerView::RetrieveGeometry()
   {
-    const VolumeImageGeometry& geometry = GetApp()->GetMainGeometry();
+    VolumeImageGeometry geometry = GetApp()->GetMainGeometry();
 
     const unsigned int depth = geometry.GetProjectionDepth(projection_);
     currentPlane_ = depth / 2;