summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-28 23:54:54 -0500
committerAdam <Adam@anope.org>2012-11-29 17:03:53 -0500
commit337f3615264f30d4c9f06653d2dd2a21805546ce (patch)
treeaeda3846a982f007878f200a8761c80c9fb0d543 /include/sockets.h
parent26a048e5c41b33cca78acaa0aa0b00396612bee4 (diff)
Fix warnings from classes with virtual functions not having virtual destructors
Diffstat (limited to 'include/sockets.h')
-rw-r--r--include/sockets.h2
1 files changed, 2 insertions, 0 deletions
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