mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Temporary occasional error fix
This commit is contained in:
parent
ba463cc5d6
commit
619a711e42
1 changed files with 3 additions and 10 deletions
|
@ -138,19 +138,12 @@ static class HashCode
|
||||||
|
|
||||||
public static int Generate<T>(T value)
|
public static int Generate<T>(T value)
|
||||||
{
|
{
|
||||||
if (Compiler.IsBuilding)
|
[IgnoreErrors(true)]
|
||||||
{
|
{
|
||||||
return HashHelper<T>.Get(value);
|
return HashHelper<T>.Get(value);
|
||||||
}
|
}
|
||||||
else
|
#unwarn
|
||||||
{
|
return 0;
|
||||||
[IgnoreErrors(true)]
|
|
||||||
{
|
|
||||||
return HashHelper<T>.Get(value);
|
|
||||||
}
|
|
||||||
#unwarn
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int Get(void* ptr, int size)
|
static int Get(void* ptr, int size)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue