1
0

NetworkSingleton: Fixed a throw warning in VS2017. (#3792)

Also fixed the misleading name.
This commit is contained in:
Mattes D
2017-06-22 21:10:41 +02:00
committed by GitHub
parent 0e1649a0f1
commit ea6660721b
4 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ cNetworkSingleton::cNetworkSingleton() :
cNetworkSingleton::~cNetworkSingleton()
cNetworkSingleton::~cNetworkSingleton() CAN_THROW
{
// Check that Terminate has been called already:
ASSERT(m_HasTerminated);

View File

@@ -41,7 +41,7 @@ class cNetworkSingleton
{
public:
cNetworkSingleton();
~cNetworkSingleton();
~cNetworkSingleton() CAN_THROW;
/** Returns the singleton instance of this class */
static cNetworkSingleton & Get(void);