1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

Refactor object and network constants to kCamelCase

This commit is contained in:
Harry Hopkinson
2024-08-11 21:21:24 +01:00
committed by GitHub
parent 8ebacc1821
commit 4744c7416d
26 changed files with 106 additions and 111 deletions

View File

@@ -73,7 +73,7 @@
# include "Socket.h"
constexpr auto CONNECT_TIMEOUT = std::chrono::milliseconds(3000);
constexpr auto kConnectTimeout = std::chrono::milliseconds(3000);
// RAII WSA initialisation needed for Windows
# ifdef _WIN32
@@ -492,7 +492,7 @@ public:
return;
}
}
} while ((std::chrono::system_clock::now() - connectStartTime) < CONNECT_TIMEOUT);
} while ((std::chrono::system_clock::now() - connectStartTime) < kConnectTimeout);
// Connection request timed out
throw SocketException("Connection timed out.");