From 7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Apr 2021 23:42:15 +0100 Subject: Fix a ton of pedantic compiler warnings. --- include/socketengine.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/socketengine.h') diff --git a/include/socketengine.h b/include/socketengine.h index af9504310..081c7f904 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -194,10 +194,6 @@ class CoreExport EventHandler : public Cullable */ EventHandler(); - /** Destructor - */ - virtual ~EventHandler() = default; - /** Called by the socket engine in case of a read event */ virtual void OnEventHandlerRead() = 0; @@ -290,6 +286,7 @@ class CoreExport SocketEngine static void LookupMaxFds(); /** Terminates the program when the socket engine fails to initialize. */ + [[noreturn]] static void InitError(); static void OnSetEvent(EventHandler* eh, int old_mask, int new_mask); -- cgit v1.3.1-10-gc9f91