diff options
| author | waddlesplash <waddlesplash@gmail.com> | 2015-09-21 20:01:08 -0400 |
|---|---|---|
| committer | waddlesplash <waddlesplash@gmail.com> | 2015-09-27 13:25:51 -0400 |
| commit | 5643fe5d1f55f6311d842d73c4614c3577bd10e2 (patch) | |
| tree | 68a0d325970ea1a7ed36eeb3fc619d2a73f0ce56 /Source/Core/Common/FileSearch.h | |
| parent | 79bf93996fbfc713c1d6aa641b3af061d1d33c36 (diff) | |
FileSearch: Don't use RegExs, just do string comparisons.
Nothing used the RegEx feature of FileSearch, and GCC < 4.9
doesn't support C++11 RegEx properly, so get rid of it.
Diffstat (limited to 'Source/Core/Common/FileSearch.h')
| -rw-r--r-- | Source/Core/Common/FileSearch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/FileSearch.h b/Source/Core/Common/FileSearch.h index cb15f84799..153408e7ff 100644 --- a/Source/Core/Common/FileSearch.h +++ b/Source/Core/Common/FileSearch.h @@ -7,5 +7,5 @@ #include <string> #include <vector> -std::vector<std::string> DoFileSearch(const std::vector<std::string>& globs, const std::vector<std::string>& directories, bool recursive = false); +std::vector<std::string> DoFileSearch(const std::vector<std::string>& exts, const std::vector<std::string>& directories, bool recursive = false); std::vector<std::string> FindSubdirectories(const std::vector<std::string>& directories, bool recursive); |
