mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
DolphinWX/Common: Change some find_first_of usages to find
It's unnecessary to use find_first_of when all you're searching for is a single character.
This commit is contained in:
@ -104,7 +104,7 @@ bool IniFile::Section::Get(const std::string& key, std::vector<std::string>* out
|
||||
while (subStart != std::string::npos)
|
||||
{
|
||||
// Find next ,
|
||||
size_t subEnd = temp.find_first_of(",", subStart);
|
||||
size_t subEnd = temp.find(',', subStart);
|
||||
if (subStart != subEnd)
|
||||
// take from first char until next ,
|
||||
out->push_back(StripSpaces(temp.substr(subStart, subEnd - subStart)));
|
||||
|
Reference in New Issue
Block a user