summaryrefslogtreecommitdiff
path: root/include/serialize.h
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2011-10-27 18:20:34 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2011-10-27 18:21:49 -0400
commit655c1cc1f73ee8ffa63548a8802405b84aef1c4e (patch)
tree1b646e0ab1bc55bacdf23aa3f0491c5276f810f6 /include/serialize.h
parentd9333e02fa455303b7236b6f002625f2cad4ed19 (diff)
Fix a few warnings that only showed up with gcc 3.4.6 here (sadly, there is one on every file about anonymous variadic macros that I can't get rid of).
Diffstat (limited to 'include/serialize.h')
-rw-r--r--include/serialize.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/serialize.h b/include/serialize.h
index 76b5e43aa..af7896c54 100644
--- a/include/serialize.h
+++ b/include/serialize.h
@@ -70,8 +70,9 @@ extern void RegisterTypes();
class SerializableBase
{
public:
- typedef std::map<Anope::string, Serialize::stringstream> serialized_data;
+ typedef std::map<Anope::string, Serialize::stringstream> serialized_data;
+ virtual ~SerializableBase() { }
virtual Anope::string serialize_name() = 0;
virtual serialized_data serialize() = 0;
virtual void alloc(serialized_data &) = 0;