fix not compiling in release mode

pull/6/head
cosmonaut 2023-11-20 11:13:41 -08:00
parent 93c058951c
commit 6136450617
1 changed files with 1 additions and 1 deletions

View File

@ -458,6 +458,7 @@ namespace MoonTools.ECS
public unsafe Type Current => World.IdToType[Types[ComponentIndex]]; public unsafe Type Current => World.IdToType[Types[ComponentIndex]];
} }
#endif
protected virtual void Dispose(bool disposing) protected virtual void Dispose(bool disposing)
{ {
@ -496,6 +497,5 @@ namespace MoonTools.ECS
Dispose(disposing: true); Dispose(disposing: true);
GC.SuppressFinalize(this); GC.SuppressFinalize(this);
} }
#endif
} }
} }