summaryrefslogtreecommitdiff
path: root/src/expr/node_value.cpp
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-03-25 20:20:29 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-03-25 20:20:29 +0000
commit56837b30117fda75298138cdd052e0c5ba201b86 (patch)
treeb96d684f9926ea49c2b39e6193a8925f95d0287d /src/expr/node_value.cpp
parente3e0b625862ba23ba97eb72fcdd3811448ad855a (diff)
Adding comments to NodeManager
Minor name changes for cleanup and hash function templates
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