mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
don't use std::move on const variables
This commit is contained in:
parent
1b1fc39f02
commit
3bc8a26083
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ std::vector<std::string> DoFileSearch(const std::vector<std::string>& directorie
|
|||
};
|
||||
for (const auto& directory : directories)
|
||||
{
|
||||
const fs::path directory_path = StringToPath(directory);
|
||||
fs::path directory_path = StringToPath(directory);
|
||||
if (fs::is_directory(directory_path)) // Can't create iterators for non-existant directories
|
||||
{
|
||||
if (recursive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue