From 4f174014b923ee154bc892bfdc6a9f13fa858535 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Feb 2009 02:43:22 -0400 Subject: When copying an expr_t object, don't copy the compiled state. --- src/expr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expr.cc') diff --git a/src/expr.cc b/src/expr.cc index a655edf0..ee06187a 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -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"); } -- cgit v1.2.3