diff options
author | Mattes D <github@xoft.cz> | 2015-01-17 19:52:26 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-17 19:52:26 +0100 |
commit | 50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050 (patch) | |
tree | 7dabeb891ea4d1efc8cbc9c55d5530cf9e9d301a /src/SetChunkData.cpp | |
parent | CMake: Check libs in submodules before configuring. (diff) | |
parent | Fixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types. (diff) | |
download | cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.gz cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.bz2 cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.lz cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.xz cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.zst cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.zip |
Diffstat (limited to 'src/SetChunkData.cpp')
-rw-r--r-- | src/SetChunkData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SetChunkData.cpp b/src/SetChunkData.cpp index e335176a8..5a0bea980 100644 --- a/src/SetChunkData.cpp +++ b/src/SetChunkData.cpp @@ -132,7 +132,7 @@ void cSetChunkData::RemoveInvalidBlockEntities(void) ItemTypeToString(WorldBlockType).c_str(), WorldBlockType ); cBlockEntityList::iterator itr2 = itr; - itr2++; + ++itr2; delete *itr; m_BlockEntities.erase(itr); itr = itr2; |