summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-06-22 21:10:41 +0200
committerGitHub <noreply@github.com>2017-06-22 21:10:41 +0200
commitea6660721bf420bb7656cd6c0d8aa04230ccc41e (patch)
tree957bf9c81ea32772c9f5692b7e272436f22ebd67 /src/OSSupport
parentFix shears (and vines) (diff)
downloadcuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.gz
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.bz2
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.lz
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.xz
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.tar.zst
cuberite-ea6660721bf420bb7656cd6c0d8aa04230ccc41e.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/NetworkSingleton.cpp2
-rw-r--r--src/OSSupport/NetworkSingleton.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/OSSupport/NetworkSingleton.cpp b/src/OSSupport/NetworkSingleton.cpp
index 7daf85b76..af3a701a8 100644
--- a/src/OSSupport/NetworkSingleton.cpp
+++ b/src/OSSupport/NetworkSingleton.cpp
@@ -23,7 +23,7 @@ cNetworkSingleton::cNetworkSingleton() :
-cNetworkSingleton::~cNetworkSingleton()
+cNetworkSingleton::~cNetworkSingleton() CAN_THROW
{
// Check that Terminate has been called already:
ASSERT(m_HasTerminated);
diff --git a/src/OSSupport/NetworkSingleton.h b/src/OSSupport/NetworkSingleton.h
index 0b815af43..59ec713c4 100644
--- a/src/OSSupport/NetworkSingleton.h
+++ b/src/OSSupport/NetworkSingleton.h
@@ -41,7 +41,7 @@ class cNetworkSingleton
{
public:
cNetworkSingleton();
- ~cNetworkSingleton();
+ ~cNetworkSingleton() CAN_THROW;
/** Returns the singleton instance of this class */
static cNetworkSingleton & Get(void);