1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

Use C++11 in browser

This commit is contained in:
Koncord 2017-01-22 15:01:05 +08:00
parent 0af5e1269a
commit 5b88f3fc44
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
set (CMAKE_CXX_STANDARD 11)
set(BROWSER_UI
${CMAKE_SOURCE_DIR}/files/tes3mp/ui/Main.ui
${CMAKE_SOURCE_DIR}/files/tes3mp/ui/ServerInfo.ui

View file

@ -22,7 +22,7 @@ unsigned int PingRakNetServer(const char *addr, unsigned short port)
int attempts = 0;
RakNet::TimeMS time = 999;
RakNet::SocketDescriptor socketDescriptor = {0, ""};
RakNet::SocketDescriptor socketDescriptor {0, ""};
RakNet::RakPeerInterface *peer = RakNet::RakPeerInterface::GetInstance();
peer->Startup(1,&socketDescriptor, 1);