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:
Lioncash committed 2015-03-24 08:32:44 -04:00
1 parent 01cb364c7a
commit eacf741051
3 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -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)
{