From cd48c6f611f53d2a86cbb8f75875118d1474f6c0 Mon Sep 17 00:00:00 2001 From: David Williams Date: Thu, 19 Mar 2015 23:08:35 +0100 Subject: [PATCH] Made method const. --- include/PolyVox/Mesh.h | 2 +- include/PolyVox/Mesh.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/PolyVox/Mesh.h b/include/PolyVox/Mesh.h index 08bc0d07..64dbd11b 100644 --- a/include/PolyVox/Mesh.h +++ b/include/PolyVox/Mesh.h @@ -57,7 +57,7 @@ namespace PolyVox uint32_t getNoOfIndices(void) const; IndexType getIndex(uint32_t index) const; - const IndexType* getRawIndexData(void); + const IndexType* getRawIndexData(void) const; POLYVOX_DEPRECATED const std::vector& getIndices(void) const; const Vector3DInt32& getOffset(void) const; diff --git a/include/PolyVox/Mesh.inl b/include/PolyVox/Mesh.inl index c574687f..8a3d9312 100644 --- a/include/PolyVox/Mesh.inl +++ b/include/PolyVox/Mesh.inl @@ -70,7 +70,7 @@ namespace PolyVox } template - const IndexType* Mesh::getRawIndexData(void) + const IndexType* Mesh::getRawIndexData(void) const { return &(m_vecIndices[0]); }