3
0
Fork 0
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:
Nuno Lopes 2025-08-03 10:41:38 +01:00
parent 97aa46add3
commit f23b053fb9
2 changed files with 53 additions and 37 deletions

View file

@ -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) {