From cdfc328f79c3c19822fcf113485c123da1507a5d Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Thu, 16 Jan 2014 14:38:14 -0800 Subject: [PATCH] remove no longer needed compiler warning disable --- libraries/shared/src/NodeList.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/shared/src/NodeList.cpp b/libraries/shared/src/NodeList.cpp index 1dadcab421..7b3364b0d8 100644 --- a/libraries/shared/src/NodeList.cpp +++ b/libraries/shared/src/NodeList.cpp @@ -53,12 +53,6 @@ NodeList* NodeList::getInstance() { 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) : _nodeHash(), @@ -78,11 +72,6 @@ NodeList::NodeList(char newOwnerType, unsigned short int newSocketListenPort) : 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() { delete _nodeTypesOfInterest;