mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03: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
|
@ -67,9 +67,6 @@ default_exception::default_exception(fmt, char const* msg, ...) {
|
|||
m_msg = out.str();
|
||||
}
|
||||
|
||||
default_exception::default_exception(std::string const & msg): m_msg(msg) {
|
||||
}
|
||||
|
||||
char const * default_exception::msg() const {
|
||||
return m_msg.c_str();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue