diff options
| author | JosJuice <josjuice@gmail.com> | 2026-01-24 20:42:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-24 20:42:31 +0100 |
| commit | 388b1e861cc42182c96fc78fb4bc41e87e84ef03 (patch) | |
| tree | 4021975c7616c11f6176f167fcf5d1bff33a777b /Source/Core/Common/FileSearch.cpp | |
| parent | 1ef75021b6357762767515915eda1f3d3b4e5036 (diff) | |
| parent | 60ca0626dfc2a59cc2e8145d0ee5c7d95f7d0ab5 (diff) | |
Merge pull request #14230 from Sintendo/file-search
Common/FileSearch: Refactor DoFileSearch
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(); |
