mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
remove a bunch of string copies
This commit is contained in:
parent
97aa46add3
commit
f23b053fb9
2 changed files with 53 additions and 37 deletions
|
@ -416,7 +416,7 @@ public:
|
|||
symbol sp(p.c_str());
|
||||
std::ostringstream buffer;
|
||||
ps.display(buffer, sp);
|
||||
return buffer.str();
|
||||
return std::move(buffer).str();
|
||||
}
|
||||
|
||||
std::string get_default(param_descrs const & d, std::string const & p, std::string const & m) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue