summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/ChunkSource.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-28 15:44:58 +0100
committerMattes D <github@xoft.cz>2014-10-28 15:44:58 +0100
commitd6c663cbc508859b36543797a7ebbee52a27dc6a (patch)
treec016dffaac4092a61e694ab5dccfd54a06f33e0f /Tools/QtBiomeVisualiser/ChunkSource.cpp
parentMerge pull request #1573 from mc-server/warningfixes (diff)
downloadcuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.tar
cuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.tar.gz
cuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.tar.bz2
cuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.tar.lz
cuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.tar.xz
cuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.tar.zst
cuberite-d6c663cbc508859b36543797a7ebbee52a27dc6a.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 c5cde1c3b..c3e29c0a2 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))
{