mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-11-12 09:08:43 +01:00
RMG-Core: minor code fixes
This commit is contained in:
1 parent
eb8294363a
commit
b9e1e230f9
6 files changed
+12
-15
No files matched your search
@@ -25,7 +25,7 @@
|
||||
// replaces all occurences of any chars in replace with c inside str
|
||||
static void str_replace_chars(std::string& str, const std::string replace, const char c)
|
||||
{
|
||||
for (int i = 0; i < str.size(); i++)
|
||||
for (uint32_t i = 0; i < str.size(); i++)
|
||||
{
|
||||
char str_char = str.at(i);
|
||||
if (replace.find(str_char) != std::string::npos)
|
||||
|
||||
Reference in new issue
Block a user