From 1e9bb8833706d247c91d65cea900fbd0d9903655 Mon Sep 17 00:00:00 2001 From: Daviw Williams Date: Wed, 2 Jan 2013 14:13:42 +0100 Subject: [PATCH] Fixed compile errors in VS2008. --- examples/OpenGL/OpenGLWidget.h | 2 +- library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/OpenGL/OpenGLWidget.h b/examples/OpenGL/OpenGLWidget.h index f61a43ad..ef6ff636 100644 --- a/examples/OpenGL/OpenGLWidget.h +++ b/examples/OpenGL/OpenGLWidget.h @@ -41,7 +41,7 @@ const int32_t g_uVolumeSideLength = 128; struct Vector3DUint8Compare { - bool operator() (const PolyVox::Vector3DUint8& a, const PolyVox::Vector3DUint8& b) + bool operator() (const PolyVox::Vector3DUint8& a, const PolyVox::Vector3DUint8& b) const { const uint32_t size = 3; for(uint32_t ct = 0; ct < size; ++ct) diff --git a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h index 7347a91f..b35f0cae 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h +++ b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h @@ -312,7 +312,7 @@ namespace PolyVox struct BlockPositionCompare { - bool operator() (const PolyVox::Vector3DInt32& a, const PolyVox::Vector3DInt32& b) + bool operator() (const PolyVox::Vector3DInt32& a, const PolyVox::Vector3DInt32& b) const { const uint32_t size = 3; for(uint32_t ct = 0; ct < size; ++ct)