summaryrefslogtreecommitdiffstats
path: root/src/Protocol
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/Protocol
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/Protocol')
-rw-r--r--src/Protocol/Authenticator.h2
-rw-r--r--src/Protocol/MojangAPI.cpp2
-rw-r--r--src/Protocol/ProtocolRecognizer.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Authenticator.h b/src/Protocol/Authenticator.h
index a8c551fc7..c97bf44a8 100644
--- a/src/Protocol/Authenticator.h
+++ b/src/Protocol/Authenticator.h
@@ -37,7 +37,7 @@ class cAuthenticator :
public:
cAuthenticator(void);
- ~cAuthenticator();
+ virtual ~cAuthenticator() override;
/** (Re-)read server and address from INI: */
void ReadSettings(cSettingsRepositoryInterface & a_Settings);
diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp
index 0edb9f33e..4d5361479 100644
--- a/src/Protocol/MojangAPI.cpp
+++ b/src/Protocol/MojangAPI.cpp
@@ -215,7 +215,7 @@ public:
{
}
- ~cUpdateThread()
+ virtual ~cUpdateThread() override
{
// Notify the thread that it should stop:
m_ShouldTerminate = true;
diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h
index dd681afda..921efcea7 100644
--- a/src/Protocol/ProtocolRecognizer.h
+++ b/src/Protocol/ProtocolRecognizer.h
@@ -45,7 +45,7 @@ public:
} ;
cProtocolRecognizer(cClientHandle * a_Client);
- virtual ~cProtocolRecognizer();
+ virtual ~cProtocolRecognizer() override;
/** Translates protocol version number into protocol version text: 49 -> "1.4.4" */
static AString GetVersionTextFromInt(int a_ProtocolVersion);