summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.cc')
-rw-r--r--src/option.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/option.cc b/src/option.cc
index bf0bdf55..0b7f7ef9 100644
--- a/src/option.cc
+++ b/src/option.cc
@@ -82,11 +82,11 @@ namespace {
#if 0
try {
#endif
- xml::xpath_t::scope_t arguments(scope, xml::xpath_t::scope_t::ARGUMENT);
+ xml::xpath_t::call_scope_t args(scope);
if (arg)
- arguments.args.push_back(value_t(arg, true));
+ args.push_back(value_t(arg, true));
- opt(arguments);
+ opt(args);
#if 0
}
catch (error * err) {