3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 13:55:47 +00:00

ast_exception: remove str copies

This commit is contained in:
Nuno Lopes 2018-07-08 15:32:01 +01:00
parent fd75eccfec
commit a85a4f41c7
2 changed files with 10 additions and 10 deletions

View file

@ -69,7 +69,7 @@ class ast_manager;
*/
class ast_exception : public default_exception {
public:
ast_exception(char const * msg):default_exception(msg) {}
ast_exception(std::string && msg) : default_exception(std::move(msg)) {}
};
typedef int family_id;