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:
@@ -38,6 +38,7 @@ struct CommandInfo
|
||||
*/
|
||||
struct CommandReply
|
||||
{
|
||||
virtual ~CommandReply() { }
|
||||
virtual void SendMessage(const BotInfo *source, const Anope::string &msg) = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user