summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 05:37:26 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:52 -0400
commit52822604713b73160ac497bc170eb45d9a594306 (patch)
tree867027ab9186c04e7ecb2f101247f16307116e86 /src/session.cc
parentd89f6e1c447fc5e7fcd0d6e5a236298323f9596e (diff)
downloadfork-ledger-52822604713b73160ac497bc170eb45d9a594306.tar.gz
fork-ledger-52822604713b73160ac497bc170eb45d9a594306.tar.bz2
fork-ledger-52822604713b73160ac497bc170eb45d9a594306.zip
Modified value_t to use copy-on-write semantics.
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc
index 65b9ada5..4bb88e4e 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -253,12 +253,14 @@ xml::xpath_t::ptr_op_t session_t::lookup(const string& name)
static void initialize()
{
amount_t::initialize();
+ value_t::initialize();
xml::xpath_t::initialize();
}
static void shutdown()
{
xml::xpath_t::shutdown();
+ value_t::shutdown();
amount_t::shutdown();
}