Add virtual destructor to the CriticalLibrary
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-11-05 18:26:27 +01:00
parent 2ecc5cfccd
commit f184572837
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
namespace CreatureLib::Battling { namespace CreatureLib::Battling {
class CriticalLibrary { class CriticalLibrary {
public: public:
virtual ~CriticalLibrary() = default;
virtual bool IsCritical(ExecutingAttack* attack, Creature* target, uint8_t hit) const; virtual bool IsCritical(ExecutingAttack* attack, Creature* target, uint8_t hit) const;
}; };
} }