Add virtual destructor to the CriticalLibrary
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2ecc5cfccd
commit
f184572837
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue