summaryrefslogtreecommitdiff
path: root/src/global.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/global.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/global.cc')
-rw-r--r--src/global.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/global.cc b/src/global.cc
index b5ceb614..6dc8d150 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -47,8 +47,6 @@ static bool args_only = false;
global_scope_t::global_scope_t(char ** envp)
{
- TRACE_CTOR(global_scope_t, "");
-
epoch = CURRENT_TIME();
#if defined(HAVE_BOOST_PYTHON)
@@ -89,6 +87,8 @@ global_scope_t::global_scope_t(char ** envp)
} else {
session().HANDLER(price_db_).off();
}
+
+ TRACE_CTOR(global_scope_t, "");
}
global_scope_t::~global_scope_t()