diff options
-rw-r--r-- | common/func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/func.h b/common/func.h index 19d0ceafec..107efb4a9b 100644 --- a/common/func.h +++ b/common/func.h @@ -247,7 +247,7 @@ template <typename T> struct Hash; #define GENERATE_TRIVIAL_HASH_FUNCTOR(T) \ - template <> struct Hash<T> { \ + template <> struct Hash<T> : public UnaryFunction<T, uint> { \ uint operator()(T val) const { return (uint)val; } \ } |