diff --git a/BeefLibs/corlib/src/HashCode.bf b/BeefLibs/corlib/src/HashCode.bf index c90ed23a..fd89a3ed 100644 --- a/BeefLibs/corlib/src/HashCode.bf +++ b/BeefLibs/corlib/src/HashCode.bf @@ -138,19 +138,12 @@ static class HashCode public static int Generate(T value) { - if (Compiler.IsBuilding) + [IgnoreErrors(true)] { return HashHelper.Get(value); } - else - { - [IgnoreErrors(true)] - { - return HashHelper.Get(value); - } - #unwarn - return 0; - } +#unwarn + return 0; } static int Get(void* ptr, int size)