diff options
| author | Max Horn | 2007-05-30 16:42:19 +0000 | 
|---|---|---|
| committer | Max Horn | 2007-05-30 16:42:19 +0000 | 
| commit | 04ee67bd7105ed72d413a0b08f9594657b9416dc (patch) | |
| tree | dc92baaeeebf4ef26dc52383bdbf81960e8431fa | |
| parent | c9bee38839c83282b8b55890901e1f4076535c57 (diff) | |
| download | scummvm-rg350-04ee67bd7105ed72d413a0b08f9594657b9416dc.tar.gz scummvm-rg350-04ee67bd7105ed72d413a0b08f9594657b9416dc.tar.bz2 scummvm-rg350-04ee67bd7105ed72d413a0b08f9594657b9416dc.zip  | |
Hash<T> is an UnaryFunction (very pedantic and effectively effectless change *g*)
svn-id: r27013
| -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; } \      }  | 
