More tidying up.

This commit is contained in:
David Williams
2011-02-12 21:47:02 +00:00
parent ed355b856f
commit bf9f5aee48
6 changed files with 26 additions and 54 deletions

View File

@ -70,10 +70,6 @@ namespace PolyVox
uint8_t m_uSideLengthPower;
bool m_bIsCompressed;
bool m_bIsUncompressedDataModified;
private:
Block(const Block& rhs);
Block& operator=(const Block& rhs);
};
}

View File

@ -46,19 +46,6 @@ namespace PolyVox
}
}
template <typename VoxelType>
Block<VoxelType>::Block(const Block<VoxelType>& rhs)
{
assert(false);
}
template <typename VoxelType>
Block<VoxelType>& Block<VoxelType>::operator=(const Block<VoxelType>& rhs)
{
assert(false);
return 0;
}
template <typename VoxelType>
uint16_t Block<VoxelType>::getSideLength(void) const
{
@ -147,7 +134,7 @@ namespace PolyVox
uint32_t Block<VoxelType>::sizeInBytes(void)
{
uint32_t uSizeInBytes = sizeof(Block<VoxelType>);
uSizeInBytes += m_vecCompressedData.capacity() * sizeof(RunlengthEntry);
uSizeInBytes += m_vecCompressedData.capacity() * sizeof(RunlengthEntry<uint16_t>);
return uSizeInBytes;
}