summaryrefslogtreecommitdiff
path: root/src/expr/node_value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/node_value.cpp')
-rw-r--r--src/expr/node_value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/node_value.cpp b/src/expr/node_value.cpp
index 7a4263d8a..840f41143 100644
--- a/src/expr/node_value.cpp
+++ b/src/expr/node_value.cpp
@@ -41,7 +41,7 @@ void NodeValue::toStream(std::ostream& out) const {
string s;
// conceptually "this" is const, and hasAttribute() doesn't change
// its argument, but it requires a non-const key arg (for now)
- if(NodeManager::currentNM()->hasAttribute(const_cast<NodeValue*>(this),
+ if(NodeManager::currentNM()->getAttribute(const_cast<NodeValue*>(this),
VarNameAttr(), s)) {
out << s;
} else {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback