From e67fcfd1fb378b2c67131ef56a61e71abf927f15 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Wed, 19 Jul 2023 02:33:22 +0200 Subject: [PATCH] Remove static keyword Can't be isolated to translation unit if only std::thread's ctor references it, triggers a compiler warning (C4505) that is treated as an error. --- r5dev/engine/host_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/engine/host_state.cpp b/r5dev/engine/host_state.cpp index b33c96e2..f896730f 100644 --- a/r5dev/engine/host_state.cpp +++ b/r5dev/engine/host_state.cpp @@ -60,7 +60,7 @@ // Input : &netGameServer - // Output : Returns true on success, false otherwise. //----------------------------------------------------------------------------- -static bool HostState_KeepAlive(const NetGameServer_t& netGameServer) +bool HostState_KeepAlive(const NetGameServer_t& netGameServer) { if (!g_pServer->IsActive() || !sv_pylonVisibility->GetBool()) // Check for active game. {