diff --git a/apps/browser/CMakeLists.txt b/apps/browser/CMakeLists.txt index 824309fbf..dc8b2b9ed 100644 --- a/apps/browser/CMakeLists.txt +++ b/apps/browser/CMakeLists.txt @@ -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 diff --git a/apps/browser/netutils/Utils.cpp b/apps/browser/netutils/Utils.cpp index 4379d0f50..60e009cca 100644 --- a/apps/browser/netutils/Utils.cpp +++ b/apps/browser/netutils/Utils.cpp @@ -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);