netsocket: Fix compiler warning

[Warning] InternetSocket.h@237,10: 'InternetSocket::_factory_allocated' will be initialized after [-Wreorder]
[Warning] InternetSocket.h@236,23:   'volatile unsigned int InternetSocket::_pending' [-Wreorder]
[Warning] InternetSocket.cpp@22,1:   when initialized here [-Wreorder]
pull/7883/head
Juha Ylinen 2018-08-24 13:26:53 +03:00
parent 812c6d5c88
commit b8b39ac3ab
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ using namespace mbed;
InternetSocket::InternetSocket()
: _stack(0), _socket(0), _timeout(osWaitForever),
_readers(0), _writers(0), _factory_allocated(false),
_pending(0)
_readers(0), _writers(0), _pending(0),
_factory_allocated(false)
{
}