When copying an expr_t object, don't copy the compiled state.

This commit is contained in:
John Wiegley 2009-02-05 02:43:22 -04:00
parent de816e8307
commit 4f174014b9

View file

@ -41,7 +41,7 @@ expr_t::expr_t() : compiled(false)
}
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");
}