diff options
Diffstat (limited to 'src/traversal/xpath.cc')
-rw-r--r-- | src/traversal/xpath.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/traversal/xpath.cc b/src/traversal/xpath.cc index ed4c0544..85f25209 100644 --- a/src/traversal/xpath.cc +++ b/src/traversal/xpath.cc @@ -1210,7 +1210,7 @@ value_t xpath_t::op_t::calc(scope_t& scope) case ATTR_NAME: if (optional<value_t&> value = kind == ATTR_ID ? current_xml_node(scope).get_attr(as_name()) : - current_xml_node(scope).get_attr(as_string())) + current_xml_node(scope).get_attr(as_string())) return *value; break; |