Postby nm » 02 Feb 2004 03:24
I changed the hashtable.h file as follows and it seems to work ok:
//class C_HashMethod<u32> // changed to new syntax 040108
template <> class C_HashMethod<u32>
{
public:
inline C_HashMethod(u32 uiMaxHash);
inline u32 Hash(u32 iKey) const;
inline u32 GetMaxHash() const;
private:
u32 m_uiMaxHash;
};
//class C_HashMethod<u16> // changed to new syntax 040108
template <> class C_HashMethod<u16>
{
public:
inline C_HashMethod(u32 uiMaxHash);
inline u32 Hash(u16 iKey) const;
inline u32 GetMaxHash() const;
private:
u32 m_uiMaxHash;
};
//class C_HashMethod<handle> // changed to new syntax 040108
template <> class C_HashMethod<handle>
{
public:
inline C_HashMethod(u32 uiMaxHash);
inline u32 Hash(handle hKey) const;
inline u32 GetMaxHash() const;
private:
u32 m_uiMaxHash;
};