From 3b5e77b104b98c00acd86bead3ba8cd0dc38d1d4 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Thu, 23 Mar 2023 00:59:19 +0100 Subject: [PATCH] add virtual destructors --- Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditor.cpp | 2 ++ .../Private/SGEditor/SGSkeletonEditorCommands.cpp | 2 ++ Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditor.h | 1 + .../SenseGloveEditor/Public/SGEditor/SGSkeletonEditorCommands.h | 1 + 4 files changed, 6 insertions(+) diff --git a/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditor.cpp b/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditor.cpp index fdc03dca..53b604ce 100644 --- a/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditor.cpp +++ b/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditor.cpp @@ -47,6 +47,8 @@ FSGSkeletonEditor::FSGSkeletonEditor() { } +FSGSkeletonEditor::~FSGSkeletonEditor() = default; + void FSGSkeletonEditor::ExtendToolbar() { if (EditorCommands.IsValid()) diff --git a/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp b/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp index 3a5d29c6..7427061c 100644 --- a/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp +++ b/Source/SenseGloveEditor/Private/SGEditor/SGSkeletonEditorCommands.cpp @@ -46,6 +46,8 @@ FSGSkeletonEditorCommands::FSGSkeletonEditorCommands() { } +FSGSkeletonEditorCommands::~FSGSkeletonEditorCommands() = default; + void FSGSkeletonEditorCommands::RegisterCommands() { if (UpdateSkeletonReferencePose.IsValid()) diff --git a/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditor.h b/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditor.h index 0d408080..8475ba92 100644 --- a/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditor.h +++ b/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditor.h @@ -49,6 +49,7 @@ private: public: FSGSkeletonEditor(); + virtual ~FSGSkeletonEditor(); public: void ExtendToolbar(); diff --git a/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditorCommands.h b/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditorCommands.h index 86180eb4..e1e4105c 100644 --- a/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditorCommands.h +++ b/Source/SenseGloveEditor/Public/SGEditor/SGSkeletonEditorCommands.h @@ -48,6 +48,7 @@ public: public: FSGSkeletonEditorCommands(); + virtual ~FSGSkeletonEditorCommands(); public: virtual void RegisterCommands() override;