mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:17:28 +02:00
remove no longer needed compiler warning disable
This commit is contained in:
parent
ef98a74ec8
commit
cdfc328f79
1 changed files with 0 additions and 11 deletions
|
@ -53,12 +53,6 @@ NodeList* NodeList::getInstance() {
|
||||||
return _sharedInstance;
|
return _sharedInstance;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
//warning C4351: new behavior: elements of array 'NodeList::_nodeBuckets' will be default initialized
|
|
||||||
// We're disabling this warning because the new behavior which is to initialize the array with 0 is acceptable to us.
|
|
||||||
#pragma warning(disable:4351)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
NodeList::NodeList(char newOwnerType, unsigned short int newSocketListenPort) :
|
NodeList::NodeList(char newOwnerType, unsigned short int newSocketListenPort) :
|
||||||
_nodeHash(),
|
_nodeHash(),
|
||||||
|
@ -78,11 +72,6 @@ NodeList::NodeList(char newOwnerType, unsigned short int newSocketListenPort) :
|
||||||
qDebug() << "NodeList socket is listening on" << _nodeSocket.localPort();
|
qDebug() << "NodeList socket is listening on" << _nodeSocket.localPort();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
//warning C4351: new behavior: elements of array 'NodeList::_nodeBuckets' will be default initialized
|
|
||||||
#pragma warning(default:4351)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
NodeList::~NodeList() {
|
NodeList::~NodeList() {
|
||||||
delete _nodeTypesOfInterest;
|
delete _nodeTypesOfInterest;
|
||||||
|
|
Loading…
Reference in a new issue