mirror of
https://github.com/Z3Prover/z3
synced 2025-05-01 21:05:52 +00:00
move a few strings instead of copying
This commit is contained in:
parent
2417bedb98
commit
6a0c409b0f
14 changed files with 30 additions and 30 deletions
|
@ -172,7 +172,7 @@ public:
|
|||
}
|
||||
for (unsigned i = 0; i < n; i++) {
|
||||
if (tmp[i] == '.') {
|
||||
param_name = tmp.substr(i+1).c_str();
|
||||
param_name = tmp.c_str() + i + 1;
|
||||
tmp.resize(i);
|
||||
mod_name = tmp.c_str();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue