summaryrefslogtreecommitdiff
path: root/src/expr/attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/attribute.h')
-rw-r--r--src/expr/attribute.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/attribute.h b/src/expr/attribute.h
index c56725f18..d7514d50c 100644
--- a/src/expr/attribute.h
+++ b/src/expr/attribute.h
@@ -46,7 +46,7 @@ namespace attr {
struct AttrHashFcn {
enum { LARGE_PRIME = 32452843ul };
std::size_t operator()(const std::pair<uint64_t, NodeValue*>& p) const {
- return p.first * LARGE_PRIME + p.second->hash();
+ return p.first * LARGE_PRIME + p.second->getId();
}
};
@@ -57,7 +57,7 @@ struct AttrHashFcn {
*/
struct AttrHashBoolFcn {
std::size_t operator()(NodeValue* nv) const {
- return nv->hash();
+ return (size_t)nv->getId();
}
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback