summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-05-20 08:16:28 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-21 12:19:06 +0200
commite35ac1bfb9b63bf1e49dafdcce2033ff42d7c205 (patch)
treebbd086b1dbf8545575ce5da9ac3b2b7128e19899 /src/OSSupport
parentFixed invisible chests (#3722) (diff)
downloadcuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.tar
cuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.tar.gz
cuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.tar.bz2
cuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.tar.lz
cuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.tar.xz
cuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.tar.zst
cuberite-e35ac1bfb9b63bf1e49dafdcce2033ff42d7c205.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/ServerHandleImpl.h2
-rw-r--r--src/OSSupport/TCPLinkImpl.h2
-rw-r--r--src/OSSupport/UDPEndpointImpl.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/OSSupport/ServerHandleImpl.h b/src/OSSupport/ServerHandleImpl.h
index dbb18fc6d..8a22df18b 100644
--- a/src/OSSupport/ServerHandleImpl.h
+++ b/src/OSSupport/ServerHandleImpl.h
@@ -39,7 +39,7 @@ class cServerHandleImpl:
public:
/** Closes the server, dropping all the connections. */
- ~cServerHandleImpl();
+ virtual ~cServerHandleImpl() override;
/** Creates a new server instance listening on the specified port.
Both IPv4 and IPv6 interfaces are used, if possible.
diff --git a/src/OSSupport/TCPLinkImpl.h b/src/OSSupport/TCPLinkImpl.h
index b54c1a2cc..d582e2f8d 100644
--- a/src/OSSupport/TCPLinkImpl.h
+++ b/src/OSSupport/TCPLinkImpl.h
@@ -44,7 +44,7 @@ public:
cTCPLinkImpl(evutil_socket_t a_Socket, cCallbacksPtr a_LinkCallbacks, cServerHandleImplPtr a_Server, const sockaddr * a_Address, socklen_t a_AddrLen);
/** Destroys the LibEvent handle representing the link. */
- ~cTCPLinkImpl();
+ virtual ~cTCPLinkImpl() override;
/** Queues a connection request to the specified host.
a_ConnectCallbacks must be valid.
diff --git a/src/OSSupport/UDPEndpointImpl.h b/src/OSSupport/UDPEndpointImpl.h
index 0e28d0b13..56116df17 100644
--- a/src/OSSupport/UDPEndpointImpl.h
+++ b/src/OSSupport/UDPEndpointImpl.h
@@ -35,7 +35,7 @@ public:
If a_Port is 0, the OS is free to assign any port number it likes to the endpoint. */
cUDPEndpointImpl(UInt16 a_Port, cUDPEndpoint::cCallbacks & a_Callbacks);
- ~cUDPEndpointImpl();
+ virtual ~cUDPEndpointImpl() override;
// cUDPEndpoint overrides:
virtual void Close(void) override;