From af5a6802fe4155e2570c4dade940143439d2b8fa Mon Sep 17 00:00:00 2001 From: cutealien Date: Tue, 26 Apr 2022 18:19:30 +0000 Subject: [PATCH] Remove virtual destructors ~SMD3QuaternionTag and ~SMD3QuaternionTagList See no reason for them. And would have to put back operator= and copy constructor otherwise (realized creating those is now deprecated when having a destructor defined). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6361 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/IAnimatedMeshMD3.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/IAnimatedMeshMD3.h b/include/IAnimatedMeshMD3.h index dc6f9b2a..1e27fbc1 100644 --- a/include/IAnimatedMeshMD3.h +++ b/include/IAnimatedMeshMD3.h @@ -151,11 +151,6 @@ namespace scene /** Basically its an alternate way to describe a transformation. */ struct SMD3QuaternionTag { - virtual ~SMD3QuaternionTag() - { - position.X = 0.f; // anyone got an idea why? - } - // construct for searching SMD3QuaternionTag( const core::stringc& name ) : Name ( name ) {} @@ -188,8 +183,6 @@ namespace scene Container.setAllocStrategy(core::ALLOC_STRATEGY_SAFE); } - virtual ~SMD3QuaternionTagList() {} - SMD3QuaternionTag* get(const core::stringc& name) { SMD3QuaternionTag search ( name );