Add 'this' pointer disambiguation.
I guess this didn't fail on MSVC due to the different name lookup rules the use. Fixes issue 56.
This commit is contained in:
@ -123,7 +123,7 @@ namespace PolyVox
|
||||
template <typename VoxelType>
|
||||
uint32_t BaseVolume<VoxelType>::calculateSizeInBytes(void)
|
||||
{
|
||||
return getWidth() * getHeight() * getDepth() * sizeof(VoxelType);
|
||||
return this->getWidth() * this->getHeight() * this->getDepth() * sizeof(VoxelType);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user