summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 10:46:05 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:53 -0400
commit2d8512af88eab26176089e53916f309f2d3b3be4 (patch)
tree5d0b6217a3367099d8a3fdb2866acc433c38e078 /src/session.cc
parent1134fc7eff7094700abf16c2e532d7c3c40ae68d (diff)
downloadfork-ledger-2d8512af88eab26176089e53916f309f2d3b3be4.tar.gz
fork-ledger-2d8512af88eab26176089e53916f309f2d3b3be4.tar.bz2
fork-ledger-2d8512af88eab26176089e53916f309f2d3b3be4.zip
Changed all uses of scope_t * to scope_t&
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc
index a93fb755..c886dde5 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -174,7 +174,7 @@ std::size_t session_t::read_data(xml::builder_t& builder,
}
optional<value_t>
-session_t::resolve(const string& name, xml::xpath_t::scope_t * locals)
+session_t::resolve(const string& name, xml::xpath_t::scope_t& locals)
{
const char * p = name.c_str();
switch (*p) {