diff options
| author | 2021-04-04 23:42:15 +0100 | |
|---|---|---|
| committer | 2021-04-04 23:42:15 +0100 | |
| commit | 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch) | |
| tree | f5a81d03f572392e7547d58f979fdd488de6ff0b /include/extensible.h | |
| parent | Remove the unused ExitCodes array. (diff) | |
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'include/extensible.h')
| -rw-r--r-- | include/extensible.h | 17 |
1 files changed, 1 insertions, 16 deletions
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<reference<ExtensionItem>>& 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<T*>(GetRaw(container)); @@ -257,9 +251,6 @@ class CoreExport StringExtItem : public SimpleExtItem<std::string> */ 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; |
