1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 08:53:52 +00:00

Merge pull request #2857 from elsid/aipackage_cleanup

Remove redundant explicit dtor definition for AiPackage
This commit is contained in:
Bret Curtis 2020-05-18 00:13:30 +02:00 committed by GitHub
commit 72507e57c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -24,8 +24,6 @@
#include <osg/Quat> #include <osg/Quat>
MWMechanics::AiPackage::~AiPackage() {}
MWMechanics::AiPackage::AiPackage() : MWMechanics::AiPackage::AiPackage() :
mTimer(AI_REACTION_TIME + 1.0f), // to force initial pathbuild mTimer(AI_REACTION_TIME + 1.0f), // to force initial pathbuild
mTargetActorRefId(""), mTargetActorRefId(""),

View file

@ -56,8 +56,7 @@ namespace MWMechanics
///Default constructor ///Default constructor
AiPackage(); AiPackage();
///Default Deconstructor virtual ~AiPackage() = default;
virtual ~AiPackage();
///Clones the package ///Clones the package
virtual AiPackage *clone() const = 0; virtual AiPackage *clone() const = 0;