- std::vector<std::string *> *operator() (const std::string &dirpath,
- bool (*filter)(const std::string &, void *arg),
- void *arg,
- bool match_fullpath = true,
- bool return_fullpath = true,
- long limit = -1,
- bool recurse = false) {
- return run_scan (dirpath,
- (bool (PathScanner::*)(const std::string &)) 0,
- filter,
- arg,
- match_fullpath,
- return_fullpath,
- limit, recurse);
+ std::vector<std::string> operator() (const std::string &dirpath,
+ bool (*filter)(const std::string &, void *arg),
+ void *arg,
+ bool match_fullpath = true,
+ bool return_fullpath = true,
+ long limit = -1,
+ bool recurse = false) {
+ std::vector<std::string> result;
+ run_scan_internal (result, dirpath,
+ filter, arg,
+ match_fullpath, return_fullpath,
+ limit, recurse);
+ return result;