diff options
Diffstat (limited to 'Source/Core/Common/FileSearch.cpp')
| -rw-r--r-- | Source/Core/Common/FileSearch.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Core/Common/FileSearch.cpp b/Source/Core/Common/FileSearch.cpp index 9eb74e4fcf..1eecb1d36d 100644 --- a/Source/Core/Common/FileSearch.cpp +++ b/Source/Core/Common/FileSearch.cpp @@ -5,8 +5,6 @@ #include <algorithm> #include <filesystem> -#include <functional> -#include <iterator> #include <system_error> #include "Common/CommonPaths.h" @@ -21,16 +19,14 @@ #endif #include <cstring> -#include "Common/CommonFuncs.h" -#include "Common/FileUtil.h" #endif namespace fs = std::filesystem; namespace Common { -std::vector<std::string> DoFileSearch(const std::vector<std::string>& directories, - const std::vector<std::string>& exts, bool recursive) +std::vector<std::string> DoFileSearch(std::span<const std::string_view> directories, + std::span<const std::string_view> exts, bool recursive) { const bool accept_all = exts.empty(); |
