Common: missed semicolon

This commit is contained in:
Lion Kortlepel
2021-08-02 14:06:00 +02:00
parent 1fb7cb6bc1
commit 106d8e5863
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ private:
static inline std::mutex mShutdownHandlersMutex {}; static inline std::mutex mShutdownHandlersMutex {};
static inline std::deque<TShutdownHandler> mShutdownHandlers {}; static inline std::deque<TShutdownHandler> mShutdownHandlers {};
static inline Version mVersion { 2, 2, 0 }; static inline Version mVersion { 2, 3, 0 };
}; };
std::string ThreadName(); std::string ThreadName();
+1 -1
View File
@@ -122,7 +122,7 @@ std::string GetPlatformAgnosticErrorString() {
if (*msgbuf) { if (*msgbuf) {
return std::to_string(GetLastError()) + " - " + std::string(msgbuf); return std::to_string(GetLastError()) + " - " + std::string(msgbuf);
} else { } else {
return std::to_string(GetLastError()) return std::to_string(GetLastError());
} }
#else // posix #else // posix
return std::strerror(errno); return std::strerror(errno);
-1
View File
@@ -62,7 +62,6 @@ void TNetwork::UDPServerMain() {
//return; //return;
} }
info(("Vehicle data network online on port ") + std::to_string(Application::Settings.Port) + (" with a Max of ") info(("Vehicle data network online on port ") + std::to_string(Application::Settings.Port) + (" with a Max of ")
+ std::to_string(Application::Settings.MaxPlayers) + (" Clients")); + std::to_string(Application::Settings.MaxPlayers) + (" Clients"));
while (!mShutdown) { while (!mShutdown) {