summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileSearch.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-04-08 17:19:00 -0400
committerGitHub <noreply@github.com>2017-04-08 17:19:00 -0400
commit59d93f3a0da961dbbf8df3fb810ad0339d187c00 (patch)
treeccf1a57320f8e98c30d8be4d9c4c7dcc09c70df0 /Source/Core/Common/FileSearch.cpp
parent579b7538e748bf7eb24ecfef15c3aa48d7346a3f (diff)
parentf7a2f6ad0162060575f5cbb80b9e95733042d1c8 (diff)
Merge pull request #5219 from lioncash/common
FileSearch: Namespace functions under the Common namespace
Diffstat (limited to 'Source/Core/Common/FileSearch.cpp')
-rw-r--r--Source/Core/Common/FileSearch.cpp3
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