diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-24 19:27:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-24 19:27:07 +0300 |
commit | 6f58d1ee37041da28562d09757a9f653109f5677 (patch) | |
tree | 494b990338727f2adfdc7d7c6e46558be696aa29 /src/fs/virtfs/virtfstools.cpp | |
parent | d1b635ebf238fac5911fde8982d067ee4ffffe3a (diff) | |
download | mv-6f58d1ee37041da28562d09757a9f653109f5677.tar.gz mv-6f58d1ee37041da28562d09757a9f653109f5677.tar.bz2 mv-6f58d1ee37041da28562d09757a9f653109f5677.tar.xz mv-6f58d1ee37041da28562d09757a9f653109f5677.zip |
Improve VirtFs::getFilesWithDir.
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 be634b89c..892b02db3 100644 --- a/src/fs/virtfs/virtfstools.cpp +++ b/src/fs/virtfs/virtfstools.cpp @@ -76,18 +76,6 @@ namespace VirtFs VirtFs::freeList(list); } - void getFilesWithDir(const std::string &path, - StringVect &list) - { - VirtList *const fonts = VirtFs::enumerateFiles(path); - FOR_EACH (StringVectCIter, i, fonts->names) - { - if (!VirtFs::isDirectory(path + *i)) - list.push_back(path + *i); - } - VirtFs::freeList(fonts); - } - void getFilesInDir(const std::string &dir, StringVect &list, const std::string &ext) |