From 106d8e58637fb264f465295796e519a8b2531287 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 2 Aug 2021 14:06:00 +0200 Subject: [PATCH] Common: missed semicolon --- include/Common.h | 2 +- src/Common.cpp | 2 +- src/TNetwork.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/Common.h b/include/Common.h index 3b572c5..e991c5f 100644 --- a/include/Common.h +++ b/include/Common.h @@ -81,7 +81,7 @@ private: static inline std::mutex mShutdownHandlersMutex {}; static inline std::deque mShutdownHandlers {}; - static inline Version mVersion { 2, 2, 0 }; + static inline Version mVersion { 2, 3, 0 }; }; std::string ThreadName(); diff --git a/src/Common.cpp b/src/Common.cpp index 20477b7..1cfcdb6 100644 --- a/src/Common.cpp +++ b/src/Common.cpp @@ -122,7 +122,7 @@ std::string GetPlatformAgnosticErrorString() { if (*msgbuf) { return std::to_string(GetLastError()) + " - " + std::string(msgbuf); } else { - return std::to_string(GetLastError()) + return std::to_string(GetLastError()); } #else // posix return std::strerror(errno); diff --git a/src/TNetwork.cpp b/src/TNetwork.cpp index 04d965c..d803da5 100644 --- a/src/TNetwork.cpp +++ b/src/TNetwork.cpp @@ -62,7 +62,6 @@ void TNetwork::UDPServerMain() { //return; } - info(("Vehicle data network online on port ") + std::to_string(Application::Settings.Port) + (" with a Max of ") + std::to_string(Application::Settings.MaxPlayers) + (" Clients")); while (!mShutdown) {