mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 11:32:43 +01:00
Fix substr memcpy issue
This commit is contained in:
parent
6efd2ae472
commit
e1bbbc72c9
@ -144,7 +144,7 @@ CWDemangler::demangle_template_args(std::string str, DemangleOptions options)
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string args = str.substr(start_idx + 1, end_idx - (start_idx + 1));
|
std::string args = str.substr(start_idx + 1, end_idx - (start_idx + 1));
|
||||||
str = str.substr(0, start_idx);
|
str.resize(start_idx);
|
||||||
tmpl_args = "<";
|
tmpl_args = "<";
|
||||||
|
|
||||||
while (args != "")
|
while (args != "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user