summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-23 13:25:52 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-01-24 17:23:10 +0100
commit3b26f7643d39f4b7a00a96c160dc9bd13722f14c (patch)
treee3d85952efe25ce4e56da546f54f1a9eede40454 /include
parentbf5475783f2a1bdcddf8426fea136f3b09c61859 (diff)
downloadastra-3b26f7643d39f4b7a00a96c160dc9bd13722f14c.tar.gz
astra-3b26f7643d39f4b7a00a96c160dc9bd13722f14c.tar.bz2
astra-3b26f7643d39f4b7a00a96c160dc9bd13722f14c.tar.xz
astra-3b26f7643d39f4b7a00a96c160dc9bd13722f14c.zip
Fix warning
Diffstat (limited to 'include')
-rw-r--r--include/astra/Float32VolumeData3DMemory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/astra/Float32VolumeData3DMemory.h b/include/astra/Float32VolumeData3DMemory.h
index 870c6e2..70f0939 100644
--- a/include/astra/Float32VolumeData3DMemory.h
+++ b/include/astra/Float32VolumeData3DMemory.h
@@ -156,7 +156,7 @@ public:
*
* @return pointer to volume geometry.
*/
- CVolumeGeometry3D* getGeometry();
+ CVolumeGeometry3D* getGeometry() const;
/**
* Gets a slice, containing all voxels with a given x (= column) index.
@@ -218,7 +218,7 @@ public:
//----------------------------------------------------------------------------------------
// Get the projection geometry.
-inline CVolumeGeometry3D* CFloat32VolumeData3DMemory::getGeometry()
+inline CVolumeGeometry3D* CFloat32VolumeData3DMemory::getGeometry() const
{
ASTRA_ASSERT(m_bInitialized);
return m_pGeometry;