diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-24 03:35:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-24 04:35:35 +0300 |
commit | 0835e09ee3a6c83ffa01454f2c05597e6195b07d (patch) | |
tree | b3b79b7a8f58f2ff18ec66b17d1c39ddad085e11 /src/fs/virtfs/virtfstools.cpp | |
parent | 55458f743c3ff7e42288bc08033481d8464dca62 (diff) | |
download | mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.gz mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.bz2 mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.tar.xz mv-0835e09ee3a6c83ffa01454f2c05597e6195b07d.zip |
Improve VirtFs::getFiles.
Diffstat (limited to 'src/fs/virtfs/virtfstools.cpp')
-rw-r--r-- | src/fs/virtfs/virtfstools.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/fs/virtfs/virtfstools.cpp b/src/fs/virtfs/virtfstools.cpp index ca65bbdf2..12b261320 100644 --- a/src/fs/virtfs/virtfstools.cpp +++ b/src/fs/virtfs/virtfstools.cpp @@ -104,18 +104,6 @@ namespace VirtFs std::sort(list.begin(), list.end()); } - void getFiles(const std::string &path, - StringVect &list) - { - VirtList *const fonts = VirtFs::enumerateFiles(path); - FOR_EACH (StringVectCIter, i, fonts->names) - { - if (!VirtFs::isDirectory(pathJoin(path, *i))) - list.push_back(*i); - } - VirtFs::freeList(fonts); - } - void getDirs(const std::string &path, StringVect &list) { VirtList *const fonts = VirtFs::enumerateFiles(path); |