aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/hashes.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/hashes.hh b/paludis/util/hashes.hh
index 5d74eed79..e700f23f6 100644
--- a/paludis/util/hashes.hh
+++ b/paludis/util/hashes.hh
@@ -59,7 +59,7 @@ namespace paludis
public:
std::size_t operator() (const T_ & t) const
{
- return hash_internals::DefaultHash<T_, std::is_integral<T_>::value>::hash(t);
+ return hash_internals::DefaultHash<T_, std::is_integral<T_>::value || std::is_enum<T_>::value>::hash(t);
}
};