diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-24 17:04:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-24 17:04:47 +0300 |
commit | d1b635ebf238fac5911fde8982d067ee4ffffe3a (patch) | |
tree | 788b6c6733550f5a54d5b3552a909a141af1223c /src/fs/virtfs/virtfstools.cpp | |
parent | 0835e09ee3a6c83ffa01454f2c05597e6195b07d (diff) | |
download | plus-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.gz plus-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.bz2 plus-d1b635ebf238fac5911fde8982d067ee4ffffe3a.tar.xz plus-d1b635ebf238fac5911fde8982d067ee4ffffe3a.zip |
Improve VirtFs::getDirs.
Diffstat (limited to 'src/fs/virtfs/virtfstools.cpp')
-rw-r--r-- | src/fs/virtfs/virtfstools.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fs/virtfs/virtfstools.cpp b/src/fs/virtfs/virtfstools.cpp index 12b261320..be634b89c 100644 --- a/src/fs/virtfs/virtfstools.cpp +++ b/src/fs/virtfs/virtfstools.cpp @@ -104,17 +104,6 @@ namespace VirtFs std::sort(list.begin(), list.end()); } - void getDirs(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); - } - std::string getPath(const std::string &file) { // get the real path to the file |