From 04ee67bd7105ed72d413a0b08f9594657b9416dc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 May 2007 16:42:19 +0000 Subject: [PATCH] Hash is an UnaryFunction (very pedantic and effectively effectless change *g*) svn-id: r27013 --- common/func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/func.h b/common/func.h index 19d0ceafec1..107efb4a9b3 100644 --- a/common/func.h +++ b/common/func.h @@ -247,7 +247,7 @@ template struct Hash; #define GENERATE_TRIVIAL_HASH_FUNCTOR(T) \ - template <> struct Hash { \ + template <> struct Hash : public UnaryFunction { \ uint operator()(T val) const { return (uint)val; } \ }