mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
A few more warnings.
This commit is contained in:
@ -270,7 +270,7 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st
|
||||
while(1)
|
||||
{
|
||||
size_t pos = result.find(src);
|
||||
if (pos == -1) break;
|
||||
if (pos == std::string::npos) break;
|
||||
result.replace(pos, src.size(), dest);
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user