From 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Apr 2021 23:42:15 +0100 Subject: Fix a ton of pedantic compiler warnings. --- include/extensible.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'include/extensible.h') diff --git a/include/extensible.h b/include/extensible.h index 036a191d8..cf9e4762c 100644 --- a/include/extensible.h +++ b/include/extensible.h @@ -51,9 +51,6 @@ class CoreExport ExtensionItem */ ExtensionItem(Module* owner, const std::string& key, ExtensibleType exttype); - /** Destroys an instance of the ExtensionItem class. */ - virtual ~ExtensionItem() = default; - /** Sets an ExtensionItem using a value in the internal format. * @param container A container the ExtensionItem should be set on. * @param value A value in the internal format. @@ -157,7 +154,7 @@ class CoreExport Extensible Extensible(); Cullable::Result Cull() override; - virtual ~Extensible(); + ~Extensible() override; void UnhookExtensions(const std::vector>& toRemove); /** @@ -205,9 +202,6 @@ class SimpleExtItem : public ExtensionItem { } - /** Destroys an instance of the SimpleExtItem class. */ - virtual ~SimpleExtItem() = default; - inline T* Get(const Extensible* container) const { return static_cast(GetRaw(container)); @@ -257,9 +251,6 @@ class CoreExport StringExtItem : public SimpleExtItem */ StringExtItem(Module* owner, const std::string& key, ExtensibleType exttype, bool sync = false); - /** Destroys an instance of the StringExtItem class. */ - virtual ~StringExtItem() = default; - /** @copydoc ExtensionItem::FromInternal */ void FromInternal(Extensible* container, const std::string& value) noexcept override; @@ -289,9 +280,6 @@ class CoreExport IntExtItem : public ExtensionItem */ IntExtItem(Module* owner, const std::string& key, ExtensibleType exttype, bool sync = false); - /** Destroys an instance of the IntExtItem class. */ - virtual ~IntExtItem() = default; - /** @copydoc ExtensionItem::Delete */ void Delete(Extensible* container, void* item) override; @@ -343,9 +331,6 @@ class CoreExport BoolExtItem : public ExtensionItem */ BoolExtItem(Module* owner, const std::string& key, ExtensibleType exttype, bool sync = false); - /** Destroys an instance of the BoolExtItem class. */ - virtual ~BoolExtItem() = default; - /** @copydoc ExtensionItem::Delete */ void Delete(Extensible* container, void* item) override; -- cgit v1.3.1-10-gc9f91