Reverted accidental commit of test code.

This commit is contained in:
Daviw Williams 2013-06-28 16:58:31 +02:00
parent e38aa3b1b9
commit 059a4b9465

View File

@ -619,9 +619,7 @@ namespace PolyVox
// create the new block // create the new block
Block<VoxelType> newBlock(m_uBlockSideLength, m_pCompressor); Block<VoxelType> newBlock(m_uBlockSideLength, m_pCompressor);
auto retVal = m_pBlocks.insert(std::make_pair(v3dBlockPos, newBlock)); itBlock = m_pBlocks.insert(std::make_pair(v3dBlockPos, newBlock)).first;
itBlock = retVal.first;
POLYVOX_ASSERT(retVal.second == true, "Element was not supposed to exist!");
//We have created the new block. If paging is enabled it should be used to //We have created the new block. If paging is enabled it should be used to
//fill in the required data. Otherwise it is just left in the default state. //fill in the required data. Otherwise it is just left in the default state.