1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 19:03:13 +02:00

Fix warnings from classes with virtual functions not having virtual destructors

This commit is contained in:
Adam
2012-11-28 23:54:54 -05:00
parent 26a048e5c4
commit 337f361526
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ struct CommandInfo
*/
struct CommandReply
{
virtual ~CommandReply() { }
virtual void SendMessage(const BotInfo *source, const Anope::string &msg) = 0;
};
+2
View File
@@ -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