mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
A few more warnings.
This commit is contained in:
parent
2630169229
commit
35b8dfbe0c
7 changed files with 15 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue