[Scummvm-cvs-logs] SF.net SVN: scummvm: [27013] scummvm/trunk/common/func.h
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed May 30 18:42:20 CEST 2007
Revision: 27013
http://scummvm.svn.sourceforge.net/scummvm/?rev=27013&view=rev
Author: fingolfin
Date: 2007-05-30 09:42:19 -0700 (Wed, 30 May 2007)
Log Message:
-----------
Hash<T> is an UnaryFunction (very pedantic and effectively effectless change *g*)
Modified Paths:
--------------
scummvm/trunk/common/func.h
Modified: scummvm/trunk/common/func.h
===================================================================
--- scummvm/trunk/common/func.h 2007-05-30 16:40:11 UTC (rev 27012)
+++ scummvm/trunk/common/func.h 2007-05-30 16:42:19 UTC (rev 27013)
@@ -247,7 +247,7 @@
#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; } \
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list