mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[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:
parent
7dbbd514c8
commit
6945d86e67
3 changed files with 1 additions and 19 deletions
|
|
@ -133,16 +133,4 @@ using std::hash_map;
|
||||||
using std::hash_set;
|
using std::hash_set;
|
||||||
#endif
|
#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
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -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
|
HASH_NAMESPACE_END
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11629"
|
#define REVISION_NR "11630"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue