summaryrefslogtreecommitdiff
path: root/src/expr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-05 02:43:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-05 02:45:26 -0400
commit4f174014b923ee154bc892bfdc6a9f13fa858535 (patch)
tree93868fc32c1aa40da11ad96898b330193dad5f6f /src/expr.cc
parentde816e830776e5b8dad117c7376858f590994377 (diff)
downloadfork-ledger-4f174014b923ee154bc892bfdc6a9f13fa858535.tar.gz
fork-ledger-4f174014b923ee154bc892bfdc6a9f13fa858535.tar.bz2
fork-ledger-4f174014b923ee154bc892bfdc6a9f13fa858535.zip
When copying an expr_t object, don't copy the compiled state.
Diffstat (limited to 'src/expr.cc')
-rw-r--r--src/expr.cc2
1 files changed, 1 insertions, 1 deletions
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");
}