summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-28 11:23:54 +0100
committerMattes D <github@xoft.cz>2014-10-28 11:23:54 +0100
commit53ff5c527c154348608f9ab9559bf67064c8ed2a (patch)
tree7906216e56234c1fb1a53f83c9db2e7b4fb1e41b
parentQtBiomeVisualiser: Switched caching to entire regions. (diff)
downloadcuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.tar
cuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.tar.gz
cuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.tar.bz2
cuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.tar.lz
cuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.tar.xz
cuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.tar.zst
cuberite-53ff5c527c154348608f9ab9559bf67064c8ed2a.zip
Diffstat (limited to '')
-rw-r--r--Tools/QtBiomeVisualiser/ChunkSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/QtBiomeVisualiser/ChunkSource.cpp b/Tools/QtBiomeVisualiser/ChunkSource.cpp
index c6d50b2e0..d9660b886 100644
--- a/Tools/QtBiomeVisualiser/ChunkSource.cpp
+++ b/Tools/QtBiomeVisualiser/ChunkSource.cpp
@@ -260,7 +260,7 @@ AnvilSource::AnvilFilePtr AnvilSource::getAnvilFile(int a_ChunkX, int a_ChunkZ)
// Search the cache for the file:
QMutexLocker lock(&m_Mtx);
- for (auto itr = m_Files.cbegin(), end = m_Files.cend(); itr != end; ++itr)
+ for (auto itr = m_Files.begin(), end = m_Files.end(); itr != end; ++itr)
{
if (((*itr)->m_RegionX == RegionX) && ((*itr)->m_RegionZ == RegionZ))
{