removed external stuff from tarray.h

This commit is contained in:
Christoph Oelckers 2024-01-09 16:47:24 +01:00
commit 963209e8af
2 changed files with 1 additions and 13 deletions

View file

@ -944,17 +944,6 @@ template<class KT> struct THashTraits
int Compare(const KT left, const KT right) { return left != right; }
};
#ifdef TEXTUREID_H
template<> struct THashTraits<FTextureID>
{
hash_t Hash(const FTextureID key) { return (hash_t)key.GetIndex(); }
// Compares two keys, returning zero if they are the same.
int Compare(const FTextureID left, const FTextureID right) { return left != right; }
};
#endif
template<> struct THashTraits<float>
{
// Use all bits when hashing singles instead of converting them to ints.