mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
StringUtil: Use std::string_view more
This commit is contained in:
parent
29ba53f6c3
commit
a2a1e04fc9
13 changed files with 92 additions and 83 deletions
|
@ -32,7 +32,7 @@ std::vector<std::string> GetProfilesFromSetting(const std::string& setting, cons
|
|||
std::vector<std::string> result;
|
||||
for (const std::string& setting_choice : setting_choices)
|
||||
{
|
||||
const std::string path = root + StripSpaces(setting_choice);
|
||||
const std::string path = root + std::string(StripSpaces(setting_choice));
|
||||
if (File::IsDirectory(path))
|
||||
{
|
||||
const auto files_under_directory = Common::DoFileSearch({path}, {".ini"}, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue