From a58f98167fc7fbb9b100a9d8395a8e160c0e5c66 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Mon, 10 Jun 2024 13:20:09 -0500 Subject: [PATCH] handle missing virtual destructors clang translation: destructinplace needs to know what to erase. --- Engine/source/T3D/gameBase/moveManager.h | 2 +- Engine/source/gfx/video/theoraTexture.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/T3D/gameBase/moveManager.h b/Engine/source/T3D/gameBase/moveManager.h index 6b26c4196..539046dc4 100644 --- a/Engine/source/T3D/gameBase/moveManager.h +++ b/Engine/source/T3D/gameBase/moveManager.h @@ -57,7 +57,7 @@ struct Move bool trigger[MaxTriggerKeys]; Move(); - + virtual ~Move() {}; virtual void pack(BitStream *stream, const Move * move = NULL); virtual void unpack(BitStream *stream, const Move * move = NULL); virtual void clamp(); diff --git a/Engine/source/gfx/video/theoraTexture.h b/Engine/source/gfx/video/theoraTexture.h index 8c0748068..d262dfae7 100644 --- a/Engine/source/gfx/video/theoraTexture.h +++ b/Engine/source/gfx/video/theoraTexture.h @@ -263,7 +263,7 @@ class TheoraTexture : private IOutputStream< TheoraTextureFrame* >, /// AsyncState( const ThreadSafeRef< OggInputStream >& oggStream, bool looping = false ); - + virtual ~AsyncState() {}; /// Return the Theora decoder substream. OggTheoraDecoder* getTheora() const { return mTheoraDecoder; }