1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 11:38:02 +02:00

Lib fixes

This commit is contained in:
Brian Fiete 2025-03-31 08:57:22 -04:00
parent 36d2bb69f5
commit 11bc782835
2 changed files with 9 additions and 3 deletions

View file

@ -82,7 +82,7 @@ namespace System
}
}
class RefCounted<T> : IRefCounted where T : class, delete
class RefCounted<T> : IRefCounted where T : delete
{
public T mVal;
public int mRefCount = 1;
@ -178,7 +178,7 @@ namespace System
public virtual T Detach()
{
var val = mVal;
mVal = null;
mVal = default;
return val;
}