diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-19 20:32:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-19 20:32:10 +0300 |
commit | b26febf03fdec534a839f5007adb184a38605fcc (patch) | |
tree | 5956faa81c36ff42eeb767d092a7995c3329816d /src | |
parent | fd0b6681b07df44f34d97b8346bf4ff0cc667a98 (diff) | |
download | mv-b26febf03fdec534a839f5007adb184a38605fcc.tar.gz mv-b26febf03fdec534a839f5007adb184a38605fcc.tar.bz2 mv-b26febf03fdec534a839f5007adb184a38605fcc.tar.xz mv-b26febf03fdec534a839f5007adb184a38605fcc.zip |
Reorder variables in ipc.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ipc.cpp | 6 | ||||
-rw-r--r-- | src/net/ipc.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp index 0c6b36a3b..30b1afdea 100644 --- a/src/net/ipc.cpp +++ b/src/net/ipc.cpp @@ -37,11 +37,11 @@ IPC *ipc = nullptr; IPC::IPC() : - mListen(false), mNumReqs(0), - mPort(44007), mSocket(nullptr), - mThread(nullptr) + mThread(nullptr), + mPort(44007U), + mListen(false) { } diff --git a/src/net/ipc.h b/src/net/ipc.h index 5e3ecdd1a..6d7f88ecc 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -55,11 +55,11 @@ private: void setPort(const unsigned short port) { mPort = port; } - bool mListen; unsigned int mNumReqs; - unsigned short mPort; TcpNet::Socket mSocket; SDL_Thread *mThread; + unsigned short mPort; + bool mListen; }; extern IPC *ipc; |