diff --git a/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.h b/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.h index 8a9932c0..06963f7c 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.h +++ b/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.h @@ -40,8 +40,8 @@ namespace PolyVox public: Block(uint16_t uSideLength, Compressor* pCompressor); - const uint8_t* const getCompressedData(void) const; - const uint32_t getCompressedDataLength(void) const; + const uint8_t* getCompressedData(void) const; + uint32_t getCompressedDataLength(void) const; uint16_t getSideLength(void) const; VoxelType getVoxel(uint16_t uXPos, uint16_t uYPos, uint16_t uZPos) const; VoxelType getVoxel(const Vector3DUint16& v3dPos) const; diff --git a/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.inl b/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.inl index 3076d2bb..cfeb00c1 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/Impl/Block.inl @@ -75,14 +75,14 @@ namespace PolyVox } template - const uint8_t* const Block::getCompressedData(void) const + const uint8_t* Block::getCompressedData(void) const { POLYVOX_ASSERT(m_pCompressedData, "Compressed data is NULL"); return m_pCompressedData; } template - const uint32_t Block::getCompressedDataLength(void) const + uint32_t Block::getCompressedDataLength(void) const { POLYVOX_ASSERT(m_pCompressedData, "Compressed data is NULL"); return m_uCompressedDataLength;