diff options
Diffstat (limited to 'src/expr/expr_value.cpp')
-rw-r--r-- | src/expr/expr_value.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/expr/expr_value.cpp b/src/expr/expr_value.cpp index 250803281..17f3b64c3 100644 --- a/src/expr/expr_value.cpp +++ b/src/expr/expr_value.cpp @@ -25,12 +25,7 @@ ExprValue::ExprValue() : } uint64_t ExprValue::hash() const { - uint64_t hash = d_kind; - - for(const_iterator i = begin(); i != end(); ++i) - hash = ((hash << 3) | ((hash & 0xE000000000000000ull) >> 61)) ^ i->hash(); - - return hash; + return computeHash<const_iterator>(d_kind, begin(), end()); } ExprValue* ExprValue::inc() { |