From 56d6454ba617d1dcddbbaa21e2066a7db0caee75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 Feb 2017 22:41:07 +0300 Subject: Move some virtfs replated functions from files.cpp into virtfstools.cpp --- src/resources/db/itemdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/db/itemdb.cpp') diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 482ec005d..9ff9d78c6 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -42,8 +42,8 @@ #include "utils/checkutils.h" #include "utils/delete2.h" #include "utils/dtor.h" -#include "utils/files.h" #include "utils/stringmap.h" +#include "utils/virtfstools.h" #include "debug.h" @@ -202,7 +202,7 @@ void ItemDB::load() SkipError_true); StringVect list; - Files::getFilesInDir(paths.getStringValue("itemsPatchDir"), + VirtFs::getFilesInDir(paths.getStringValue("itemsPatchDir"), list, ".xml"); FOR_EACH (StringVectCIter, it, list) -- cgit v1.2.3-70-g09d2