[11630] Possible fixed recent problems with build.

Removed support hash_value look like not used directly in MaNGOS
by testing diff Visual Studio versions and start create rpoblem
after recent changes.
This commit is contained in:
VladimirMangos 2011-06-14 14:13:52 +04:00
parent 7dbbd514c8
commit 6945d86e67
3 changed files with 1 additions and 19 deletions

View file

@ -133,16 +133,4 @@ using std::hash_map;
using std::hash_set;
#endif
#if COMPILER != COMPILER_MICROSOFT
// Visual Studio use non standard hash calculation function, so provide fake forward for other
HASH_NAMESPACE_START
template<class K>
size_t hash_value(K const&);
HASH_NAMESPACE_END
#endif
#endif

View file

@ -269,12 +269,6 @@ HASH_NAMESPACE_START
}
};
// for pre-TR1 Visual Studio versions (VS90 SP1 or early)
inline size_t hash_value(ObjectGuid const& key)
{
return hash_value(key.GetRawValue());
}
HASH_NAMESPACE_END
#endif

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11629"
#define REVISION_NR "11630"
#endif // __REVISION_NR_H__