summaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 2b022688d..76e469482 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -91,6 +91,10 @@ ExtensionItem::ExtensionItem(const std::string& Key, Module* mod) : key(Key), ow
{
}
+ExtensionItem::~ExtensionItem()
+{
+}
+
void* ExtensionItem::get_raw(const Extensible* container)
{
ExtensibleStore::const_iterator i = container->extensions.find(key);
@@ -175,6 +179,10 @@ LocalExtItem::LocalExtItem(const std::string& Key, Module* mod) : ExtensionItem(
{
}
+LocalExtItem::~LocalExtItem()
+{
+}
+
std::string LocalExtItem::serialize(SerializeFormat format, const Extensible* container, void* item)
{
return "";
@@ -187,6 +195,10 @@ void LocalExtItem::unserialize(SerializeFormat format, Extensible* container, co
LocalStringExt::LocalStringExt(const std::string& Key, Module* Owner)
: SimpleExtItem<std::string>(Key, Owner) { }
+LocalStringExt::~LocalStringExt()
+{
+}
+
std::string LocalStringExt::serialize(SerializeFormat format, const Extensible* container, void* item)
{
if (item && format == FORMAT_USER)
@@ -198,6 +210,10 @@ LocalIntExt::LocalIntExt(const std::string& Key, Module* mod) : LocalExtItem(Key
{
}
+LocalIntExt::~LocalIntExt()
+{
+}
+
std::string LocalIntExt::serialize(SerializeFormat format, const Extensible* container, void* item)
{
if (format != FORMAT_USER)
@@ -226,6 +242,10 @@ StringExtItem::StringExtItem(const std::string& Key, Module* mod) : ExtensionIte
{
}
+StringExtItem::~StringExtItem()
+{
+}
+
std::string* StringExtItem::get(const Extensible* container)
{
return static_cast<std::string*>(get_raw(container));