1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +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

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