From 0f88ed7c72e45d7cec61874b97bba1ab60c1f084 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 28 Feb 2012 12:37:46 +0000 Subject: Linux compilation fix (y u no support const_iterator, gcc?) git-svn-id: http://mc-server.googlecode.com/svn/trunk@338 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunkMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cChunkMap.cpp b/source/cChunkMap.cpp index 0485df1eb..0f0cc03a4 100644 --- a/source/cChunkMap.cpp +++ b/source/cChunkMap.cpp @@ -1101,7 +1101,7 @@ void cChunkStay::Remove(int a_ChunkX, int a_ChunkY, int a_ChunkZ) { ASSERT(!m_IsEnabled); - for (cChunkCoordsList::const_iterator itr = m_Chunks.begin(); itr != m_Chunks.end(); ++itr) + for (cChunkCoordsList::iterator itr = m_Chunks.begin(); itr != m_Chunks.end(); ++itr) { if ((itr->m_ChunkX == a_ChunkX) && (itr->m_ChunkY == a_ChunkY) && (itr->m_ChunkZ == a_ChunkZ)) { -- cgit v1.2.3