1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00

Temporary occasional error fix

This commit is contained in:
Brian Fiete 2024-02-13 06:05:48 -05:00
parent ba463cc5d6
commit 619a711e42

View file

@ -137,21 +137,14 @@ static class HashCode
} }
public static int Generate<T>(T value) public static int Generate<T>(T value)
{
if (Compiler.IsBuilding)
{
return HashHelper<T>.Get(value);
}
else
{ {
[IgnoreErrors(true)] [IgnoreErrors(true)]
{ {
return HashHelper<T>.Get(value); return HashHelper<T>.Get(value);
} }
#unwarn #unwarn
return 0; return 0;
} }
}
static int Get(void* ptr, int size) static int Get(void* ptr, int size)
{ {