mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 17:50:23 +00:00
remove some allocs from exceptions
This commit is contained in:
parent
8791f61aa7
commit
cef17c22a1
19 changed files with 36 additions and 40 deletions
|
@ -41,7 +41,7 @@ class default_exception : public z3_exception {
|
|||
std::string m_msg;
|
||||
public:
|
||||
struct fmt {};
|
||||
default_exception(std::string const& msg);
|
||||
default_exception(std::string && msg) : m_msg(std::move(msg)) {}
|
||||
default_exception(fmt, char const* msg, ...);
|
||||
~default_exception() override {}
|
||||
char const * msg() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue