diff options
| author | Naram Qashat <cyberbotx@cyberbotx.com> | 2011-10-27 18:20:34 -0400 |
|---|---|---|
| committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2011-10-27 18:21:49 -0400 |
| commit | 655c1cc1f73ee8ffa63548a8802405b84aef1c4e (patch) | |
| tree | 1b646e0ab1bc55bacdf23aa3f0491c5276f810f6 | |
| parent | d9333e02fa455303b7236b6f002625f2cad4ed19 (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).
| -rw-r--r-- | include/serialize.h | 3 | ||||
| -rw-r--r-- | modules/extra/ldap.h | 1 |
2 files changed, 3 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; diff --git a/modules/extra/ldap.h b/modules/extra/ldap.h index e4be8a1a3..96b6eb5e4 100644 --- a/modules/extra/ldap.h +++ b/modules/extra/ldap.h @@ -105,6 +105,7 @@ class LDAPInterface Module *owner; LDAPInterface(Module *m) : owner(m) { } + virtual ~LDAPInterface() { } virtual void OnResult(const LDAPResult &r) { } |
