From 8014f25f6db719fa62336f997963532a14c568f6 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 21 Jan 2012 04:30:10 -0800 Subject: Major restructuring of the code. --- src/misc/hash/hash.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/misc/hash/hash.h') diff --git a/src/misc/hash/hash.h b/src/misc/hash/hash.h index 9b5b25d6..6e6c637c 100644 --- a/src/misc/hash/hash.h +++ b/src/misc/hash/hash.h @@ -18,8 +18,8 @@ ***********************************************************************/ -#ifndef __HASH_H__ -#define __HASH_H__ +#ifndef ABC__misc__hash__hash_h +#define ABC__misc__hash__hash_h #ifdef _WIN32 @@ -29,7 +29,7 @@ /// INCLUDES /// //////////////////////////////////////////////////////////////////////// -#include "abc_global.h" +#include "src/misc/util/abc_global.h" #include "hashInt.h" #include "hashFlt.h" @@ -55,7 +55,7 @@ ABC_NAMESPACE_HEADER_START //////////////////////////////////////////////////////////////////////// int Hash_DefaultHashFunc(int key, int nBins) { - return ABC_ABS( ( (key+11)*(key)*7+3 ) % nBins ); + return Abc_AbsInt( ( (key+11)*(key)*7+3 ) % nBins ); } //////////////////////////////////////////////////////////////////////// -- cgit v1.2.3