From f1845728376eac0587ce841e92099b1403e13816 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 5 Nov 2019 18:26:27 +0100 Subject: [PATCH] Add virtual destructor to the CriticalLibrary --- src/Battling/Library/CriticalLibrary.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Battling/Library/CriticalLibrary.hpp b/src/Battling/Library/CriticalLibrary.hpp index 63406b1..125455f 100644 --- a/src/Battling/Library/CriticalLibrary.hpp +++ b/src/Battling/Library/CriticalLibrary.hpp @@ -6,6 +6,7 @@ namespace CreatureLib::Battling { class CriticalLibrary { public: + virtual ~CriticalLibrary() = default; virtual bool IsCritical(ExecutingAttack* attack, Creature* target, uint8_t hit) const; }; }