NetworkSingleton: Fixed a throw warning in VS2017. (#3792)
Also fixed the misleading name.
This commit is contained in:
@@ -23,7 +23,7 @@ cNetworkSingleton::cNetworkSingleton() :
|
||||
|
||||
|
||||
|
||||
cNetworkSingleton::~cNetworkSingleton()
|
||||
cNetworkSingleton::~cNetworkSingleton() CAN_THROW
|
||||
{
|
||||
// Check that Terminate has been called already:
|
||||
ASSERT(m_HasTerminated);
|
||||
|
||||
@@ -41,7 +41,7 @@ class cNetworkSingleton
|
||||
{
|
||||
public:
|
||||
cNetworkSingleton();
|
||||
~cNetworkSingleton();
|
||||
~cNetworkSingleton() CAN_THROW;
|
||||
|
||||
/** Returns the singleton instance of this class */
|
||||
static cNetworkSingleton & Get(void);
|
||||
|
||||
Reference in New Issue
Block a user