Compile fixes and tweaks for tests.

This commit is contained in:
David Williams
2015-02-28 13:43:17 +01:00
parent f262c0e8f5
commit 7e03c3e05b
2 changed files with 11 additions and 19 deletions

View File

@ -40,7 +40,7 @@ bool testVoxelValidator(const VolumeType* volData, const Vector3DInt32& v3dPos)
return false;
}
typename VolumeType::VoxelType voxel = volData->getVoxel(v3dPos, WrapModes::Validate); // FIXME use templatised version of getVoxel(), but watch out for Linux compile issues.
typename VolumeType::VoxelType voxel = volData->getVoxel(v3dPos);
if(voxel != 0)
{
return false;