When copying an expr_t object, don't copy the compiled state.
This commit is contained in:
parent
de816e8307
commit
4f174014b9
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ expr_t::expr_t() : compiled(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
expr_t::expr_t(const expr_t& other)
|
expr_t::expr_t(const expr_t& other)
|
||||||
: ptr(other.ptr), str(other.str), compiled(other.compiled)
|
: ptr(other.ptr), str(other.str), compiled(false)
|
||||||
{
|
{
|
||||||
TRACE_CTOR(expr_t, "copy");
|
TRACE_CTOR(expr_t, "copy");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue