summaryrefslogtreecommitdiff
path: root/src/traversal/xpath.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-21 20:45:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:39:06 -0400
commitd23ed020abf494a046b499cdce1c0957cd5b4783 (patch)
treebd9035df62b9ef7cbf77045bb018de8e33270fca /src/traversal/xpath.cc
parentfdfc37adf948415b6caad55c08e8313abd4e1b1b (diff)
downloadfork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.tar.gz
fork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.tar.bz2
fork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.zip
Whitespace cleanup.
Diffstat (limited to 'src/traversal/xpath.cc')
-rw-r--r--src/traversal/xpath.cc2
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;