Hash<T> is an UnaryFunction (very pedantic and effectively effectless change *g*)

svn-id: r27013
This commit is contained in:
Max Horn 2007-05-30 16:42:19 +00:00
parent c9bee38839
commit 04ee67bd71

View file

@ -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; } \
}