GCC compile fixes.
This commit is contained in:
@ -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);
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user