X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fhash.hh;h=810a1282163788410d62a1a5186758e3490bad1c;hp=ea63db152ad53f05bc7b3643b45437a5b13a2efc;hb=44b3014bce798789e795242d1556cb7449e6386a;hpb=1da520638918096276158ecdfaeebc14a3d70be7 diff --git a/src/moof/hash.hh b/src/moof/hash.hh index ea63db1..810a128 100644 --- a/src/moof/hash.hh +++ b/src/moof/hash.hh @@ -1,38 +1,34 @@ -/*] Copyright (c) 2009-2010, Charles McGarvey [************************** +/*] Copyright (c) 2009-2011, Charles McGarvey [***************************** **] All rights reserved. * -* vi:ts=4 sw=4 tw=75 -* * Distributable under the terms and conditions of the 2-clause BSD license; * see the file COPYING for a complete text of the license. * -**************************************************************************/ +*****************************************************************************/ #ifndef _MOOF_HASH_HH_ #define _MOOF_HASH_HH_ -/** - * \file hash.hh - * Hash tables and functions. - */ - #include #include +/** + * \file hash.hh + * Hash tables and functions. + */ + namespace moof { using stlplus::hash; - struct hash_function { // generic hash function - unsigned operator () (const void* key, int len, - unsigned seed = -1) const; + unsigned operator () (const void* key, int len, unsigned seed = -1) const; unsigned operator () (const std::string& val) const {