summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
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) {