Fixed compile errors in VS2008.

This commit is contained in:
Daviw Williams
2013-01-02 14:13:42 +01:00
parent c05293844f
commit 1e9bb88337
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)