diff options
Diffstat (limited to 'common/func.h')
-rw-r--r-- | common/func.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/func.h b/common/func.h index 19d0ceafec..a424fcf205 100644 --- a/common/func.h +++ b/common/func.h @@ -1,5 +1,8 @@ -/* ScummVM - Scumm Interpreter - * Copyright (C) 2002-2006 The ScummVM project +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -247,7 +250,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; } \ } |