diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-04-07 00:55:10 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-04-07 01:02:14 -0400 |
| commit | f7a2f6ad0162060575f5cbb80b9e95733042d1c8 (patch) | |
| tree | 9988aab4e645996cd9fb651a1281ec1793ea78fd /Source/Core/Common/FileSearch.cpp | |
| parent | f94cd57a7012bc6cce22f22f84356d9e260c0461 (diff) | |
FileSearch: Namespace functions under the Common namespace
Diffstat (limited to 'Source/Core/Common/FileSearch.cpp')
| -rw-r--r-- | Source/Core/Common/FileSearch.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/FileSearch.cpp b/Source/Core/Common/FileSearch.cpp index 6a53f12e02..29b8624b15 100644 --- a/Source/Core/Common/FileSearch.cpp +++ b/Source/Core/Common/FileSearch.cpp @@ -9,6 +9,8 @@ #include "Common/FileSearch.h" #include "Common/FileUtil.h" +namespace Common +{ static std::vector<std::string> FileSearchWithTest(const std::vector<std::string>& directories, bool recursive, std::function<bool(const File::FSTEntry&)> callback) @@ -57,3 +59,4 @@ std::vector<std::string> FindSubdirectories(const std::vector<std::string>& dire return FileSearchWithTest(directories, true, [&](const File::FSTEntry& entry) { return entry.isDirectory; }); } +} // namespace Common |
