mirror of
https://github.com/Z3Prover/z3
synced 2026-06-03 15:47:55 +00:00
constructor
This commit is contained in:
parent
70626ac914
commit
e73c897bd4
1 changed files with 2 additions and 2 deletions
|
|
@ -126,11 +126,11 @@ private:
|
||||||
rational*, // for PARAM_RATIONAL
|
rational*, // for PARAM_RATIONAL
|
||||||
double, // for PARAM_DOUBLE (remark: this is not used in float_decl_plugin)
|
double, // for PARAM_DOUBLE (remark: this is not used in float_decl_plugin)
|
||||||
unsigned // for PARAM_EXTERNAL
|
unsigned // for PARAM_EXTERNAL
|
||||||
> m_val;
|
> m_val = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
parameter() : m_val(0) {}
|
parameter() noexcept = default;
|
||||||
explicit parameter(int val): m_val(val) {}
|
explicit parameter(int val): m_val(val) {}
|
||||||
explicit parameter(unsigned val): m_val((int)val) {}
|
explicit parameter(unsigned val): m_val((int)val) {}
|
||||||
explicit parameter(ast * p): m_val(p) {}
|
explicit parameter(ast * p): m_val(p) {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue