mirror of
https://github.com/Z3Prover/z3
synced 2025-08-27 21:48:56 +00:00
reduce memory allocs in params
This commit is contained in:
parent
ae1d9270b5
commit
766f5f04c0
2 changed files with 15 additions and 19 deletions
|
@ -32,12 +32,12 @@ class param_descrs;
|
|||
class params_ref {
|
||||
static params_ref g_empty_params_ref;
|
||||
|
||||
params * m_params;
|
||||
params * m_params = nullptr;
|
||||
void init();
|
||||
void copy_core(params const * p);
|
||||
void set(params_ref const& p);
|
||||
public:
|
||||
params_ref():m_params(nullptr) {}
|
||||
params_ref() = default;
|
||||
params_ref(params_ref const & p);
|
||||
~params_ref();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue