mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-29 18:34:55 +00:00
refactor: nuke __int64/__uint64 in Minecraft.World
This commit is contained in:
@@ -44,13 +44,13 @@ struct LongKeyHash {
|
||||
return (int)(h ^ (h >> 7) ^ (h >> 4));
|
||||
}
|
||||
|
||||
int operator()(const __int64& k) const {
|
||||
return hash((int)(k ^ (((__uint64)k) >> 32)));
|
||||
int operator()(const int64_t& k) const {
|
||||
return hash((int)(k ^ (((uint64_t)k) >> 32)));
|
||||
}
|
||||
};
|
||||
|
||||
struct LongKeyEq {
|
||||
bool operator()(const __int64& x, const __int64& y) const { return x == y; }
|
||||
bool operator()(const int64_t& x, const int64_t& y) const { return x == y; }
|
||||
};
|
||||
|
||||
struct eINSTANCEOFKeyHash {
|
||||
|
||||
Reference in New Issue
Block a user