diff options
Diffstat (limited to 'Source/Core/Common/FileSearch.cpp')
| -rw-r--r-- | Source/Core/Common/FileSearch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/FileSearch.cpp b/Source/Core/Common/FileSearch.cpp index bce8e77b8e..2994e00a74 100644 --- a/Source/Core/Common/FileSearch.cpp +++ b/Source/Core/Common/FileSearch.cpp @@ -74,7 +74,7 @@ std::vector<std::string> DoFileSearch(const std::vector<std::string>& directorie std::vector<fs::path> native_exts; for (const auto& ext : exts) - native_exts.push_back(ext); + native_exts.push_back(fs::u8path(ext)); // N.B. This avoids doing any copies auto ext_matches = [&native_exts](const fs::path& path) { |
