mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06: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:
@ -92,7 +92,7 @@ void LoadPatchSection(const std::string& section, std::vector<Patch>& patches, I
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string::size_type loc = line.find_first_of('=', 0);
|
||||
std::string::size_type loc = line.find('=');
|
||||
|
||||
if (loc != std::string::npos)
|
||||
{
|
||||
|
Reference in New Issue
Block a user