summaryrefslogtreecommitdiff
path: root/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'session.cc')
-rw-r--r--session.cc17
1 files changed, 11 insertions, 6 deletions
diff --git a/session.cc b/session.cc
index f0a6b837..8cd86e11 100644
--- a/session.cc
+++ b/session.cc
@@ -1,8 +1,4 @@
#include "session.h"
-#include "debug.h"
-#include "timing.h"
-
-#include <fstream>
namespace ledger {
@@ -189,13 +185,22 @@ xml::xpath_t::op_t * session_t::lookup(const string& name)
return xml::xpath_t::scope_t::lookup(name);
}
+void initialize()
+{
+ amount_t::initialize();
+}
+
+void shutdown()
+{
+ amount_t::shutdown();
+ assert(live_count.size() == 0);
+}
+
} // namespace ledger
#if 0
#ifdef USE_BOOST_PYTHON
-#include <boost/python.hpp>
-
using namespace boost::python;
using namespace ledger;