aboutsummaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-04 23:42:15 +0100
committerGravatar Sadie Powell2021-04-04 23:42:15 +0100
commit7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch)
treef5a81d03f572392e7547d58f979fdd488de6ff0b /include/socketengine.h
parentRemove the unused ExitCodes array. (diff)
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'include/socketengine.h')
-rw-r--r--include/socketengine.h5
1 files changed, 1 insertions, 4 deletions
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);