summaryrefslogtreecommitdiffstats
path: root/Tools/AnvilStats/Processor.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-11-26 18:15:39 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-11-26 18:15:39 +0100
commit139bd34690c872ed017025146e466af06435c23a (patch)
tree6cb71d1d7bdaa0397ecfb42fb3523f2c6f815909 /Tools/AnvilStats/Processor.cpp
parentFixed loads more of them. (diff)
parentAnvilStats: Fixed compilation. (diff)
downloadcuberite-139bd34690c872ed017025146e466af06435c23a.tar
cuberite-139bd34690c872ed017025146e466af06435c23a.tar.gz
cuberite-139bd34690c872ed017025146e466af06435c23a.tar.bz2
cuberite-139bd34690c872ed017025146e466af06435c23a.tar.lz
cuberite-139bd34690c872ed017025146e466af06435c23a.tar.xz
cuberite-139bd34690c872ed017025146e466af06435c23a.tar.zst
cuberite-139bd34690c872ed017025146e466af06435c23a.zip
Diffstat (limited to '')
-rw-r--r--Tools/AnvilStats/Processor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/AnvilStats/Processor.cpp b/Tools/AnvilStats/Processor.cpp
index 8e1cc4c4b..4ecd685ad 100644
--- a/Tools/AnvilStats/Processor.cpp
+++ b/Tools/AnvilStats/Processor.cpp
@@ -554,8 +554,8 @@ void cProcessor::PopulateFileQueue(const AString & a_WorldFolder)
{
Path.push_back(cFile::PathSeparator);
}
- AStringList AllFiles = GetDirectoryContents(Path.c_str());
- for (AStringList::iterator itr = AllFiles.begin(), end = AllFiles.end(); itr != end; ++itr)
+ AStringVector AllFiles = cFile::GetFolderContents(Path.c_str());
+ for (AStringVector::iterator itr = AllFiles.begin(), end = AllFiles.end(); itr != end; ++itr)
{
if (itr->rfind(".mca") != itr->length() - 4)
{