Fix substr memcpy issue

This commit is contained in:
Amber Brault 2024-12-07 23:01:58 -05:00
parent 6efd2ae472
commit e1bbbc72c9
1 changed files with 1 additions and 1 deletions

View File

@ -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));
str = str.substr(0, start_idx);
str.resize(start_idx);
tmpl_args = "<";
while (args != "")