From 9640b153f66b5ed45e9a696bd0d9a4613735a55c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Wed, 10 Apr 2024 13:50:40 +0200 Subject: [PATCH] =?UTF-8?q?Fixed=20compile=20error=20in=20some=20method=20?= =?UTF-8?q?I'm=20not=20sure=20why,=20but=20it=20wasn't=20used=20?= =?UTF-8?q?=F0=9F=A4=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GlitchyEngine/src/Content/AssetHandle.bf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GlitchyEngine/src/Content/AssetHandle.bf b/GlitchyEngine/src/Content/AssetHandle.bf index 810074c..4841807 100644 --- a/GlitchyEngine/src/Content/AssetHandle.bf +++ b/GlitchyEngine/src/Content/AssetHandle.bf @@ -315,10 +315,11 @@ struct AssetHandle where T : Asset } // TODO: Cast up? - public AssetHandle Cast() where NewT : T + // TODO: Wasn't used, if needed, fix... + /*public AssetHandle Cast() where NewT : T { return AssetHandle(this._handle, this._contentManager); - } + }*/ static void AssetSerialize(BonWriter writer, ValueView value, BonEnvironment environment, SerializeValueState state) {