aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-05-30 16:42:19 +0000
committerMax Horn2007-05-30 16:42:19 +0000
commit04ee67bd7105ed72d413a0b08f9594657b9416dc (patch)
treedc92baaeeebf4ef26dc52383bdbf81960e8431fa
parentc9bee38839c83282b8b55890901e1f4076535c57 (diff)
downloadscummvm-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.h2
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; } \
}