From cd57ad6e208728bafcbc8c7d7b85d88603706978 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 20 Apr 2021 12:40:37 -0400 Subject: Updated natural armor and skills --- src/item.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 096513e..b0b06af 100644 --- a/src/item.h +++ b/src/item.h @@ -7,15 +7,17 @@ namespace entry { class Item : public Entry { public: static std::shared_ptr create(const nlohmann::json& data); + virtual ~Item() {} protected: - Item(const nlohmann::json& data) : Entry(data) {}; + Item(const nlohmann::json& data) : Entry(data) {} }; class Substantial { public: virtual int getCost(void) const = 0; virtual double getWeight(void) const = 0; + virtual ~Substantial() {} }; std::string genText(const Substantial& s); -- cgit v1.2.3