summaryrefslogtreecommitdiff
path: root/src/expr.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-20 02:10:40 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-20 02:10:40 -0500
commit22505d9527edce59cd3cf90c5241e4bd809eb8a2 (patch)
treed943b2dba416a9fbe8619e02a293dfd854fd0869 /src/expr.cc
parentdf11ecbbd733068284a19369949bcaa20b0e6e76 (diff)
downloadfork-ledger-22505d9527edce59cd3cf90c5241e4bd809eb8a2.tar.gz
fork-ledger-22505d9527edce59cd3cf90c5241e4bd809eb8a2.tar.bz2
fork-ledger-22505d9527edce59cd3cf90c5241e4bd809eb8a2.zip
Always call TRACE_CTOR at the end of constructors
Diffstat (limited to 'src/expr.cc')
-rw-r--r--src/expr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.cc b/src/expr.cc
index b22572f8..25967207 100644
--- a/src/expr.cc
+++ b/src/expr.cc
@@ -55,16 +55,16 @@ expr_t::expr_t(ptr_op_t _ptr, scope_t * _context)
expr_t::expr_t(const string& _str, const parse_flags_t& flags)
: base_type()
{
- TRACE_CTOR(expr_t, "string, parse_flags_t");
if (! _str.empty())
parse(_str, flags);
+ TRACE_CTOR(expr_t, "string, parse_flags_t");
}
expr_t::expr_t(std::istream& in, const parse_flags_t& flags)
: base_type()
{
- TRACE_CTOR(expr_t, "std::istream&, parse_flags_t");
parse(in, flags);
+ TRACE_CTOR(expr_t, "std::istream&, parse_flags_t");
}
expr_t::~expr_t() {