diff options
-rw-r--r-- | include/commands.h | 1 | ||||
-rw-r--r-- | include/sockets.h | 2 | ||||
-rw-r--r-- | modules/extra/xmlrpc.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h index 5c8664147..e390fb3d3 100644 --- a/include/commands.h +++ b/include/commands.h @@ -38,6 +38,7 @@ struct CommandInfo */ struct CommandReply { + virtual ~CommandReply() { } virtual void SendMessage(const BotInfo *source, const Anope::string &msg) = 0; }; diff --git a/include/sockets.h b/include/sockets.h index 24c993d9e..1ef10d0c8 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -130,6 +130,8 @@ enum SocketFlag class CoreExport SocketIO { public: + virtual ~SocketIO() { } + /** Receive something from the buffer * @param s The socket * @param buf The buf to read to diff --git a/modules/extra/xmlrpc.h b/modules/extra/xmlrpc.h index 13097f4be..d5a5ea4a7 100644 --- a/modules/extra/xmlrpc.h +++ b/modules/extra/xmlrpc.h @@ -20,6 +20,7 @@ class XMLRPCServiceInterface; class XMLRPCEvent { public: + virtual ~XMLRPCEvent() { } virtual bool Run(XMLRPCServiceInterface *iface, HTTPClient *client, XMLRPCRequest &request) = 0; }; |