Hash<T> is an UnaryFunction (very pedantic and effectively effectless change *g*)
svn-id: r27013
This commit is contained in:
parent
c9bee38839
commit
04ee67bd71
1 changed files with 1 additions and 1 deletions
|
@ -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; } \
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue