GCC compile fixes.

This commit is contained in:
David Williams
2013-07-31 16:37:39 +02:00
parent e35b58ba18
commit 9503d975c1
5 changed files with 9 additions and 8 deletions

View File

@ -37,7 +37,7 @@ namespace PolyVox
template <typename VoxelType>
class Block
{
friend LargeVolume<VoxelType>;
friend class LargeVolume<VoxelType>;
public:
Block()
@ -65,7 +65,7 @@ namespace PolyVox
template <typename VoxelType>
class CompressedBlock : public Block<VoxelType>
{
friend LargeVolume<VoxelType>;
friend class LargeVolume<VoxelType>;
public:
CompressedBlock();
@ -94,7 +94,7 @@ namespace PolyVox
template <typename VoxelType>
class UncompressedBlock : public Block<VoxelType>
{
friend LargeVolume<VoxelType>;
friend class LargeVolume<VoxelType>;
public:
UncompressedBlock(uint16_t uSideLength);

View File

@ -80,7 +80,7 @@ namespace PolyVox
memcpy(m_pData, pData, uDataSizeInBytes);
// Flag as modified
m_bDataModified = true;
this->m_bDataModified = true;
}
template <typename VoxelType>
@ -168,7 +168,7 @@ namespace PolyVox
uZPos * m_uSideLength * m_uSideLength
] = tValue;
m_bDataModified = true;
this->m_bDataModified = true;
}
template <typename VoxelType>