diff options
Diffstat (limited to 'src/expr/node_value.cpp')
-rw-r--r-- | src/expr/node_value.cpp | 2 |
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 { |