From 31399481413f3e369509e04f9bb8312b811420f3 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 12 Feb 2023 11:24:34 +0100 Subject: [PATCH] Rename mutex guard lock Already one named 'l' in this scope. It will work just fine, but having a different name is better. --- r5dev/gameui/IBrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/gameui/IBrowser.cpp b/r5dev/gameui/IBrowser.cpp index fb4027dd..dfdf4f07 100644 --- a/r5dev/gameui/IBrowser.cpp +++ b/r5dev/gameui/IBrowser.cpp @@ -714,7 +714,7 @@ void CBrowser::UpdateHostingStatus(void) g_TaskScheduler->Dispatch([this]() { - std::lock_guard l(g_pServerListManager->m_Mutex); + std::lock_guard f(g_pServerListManager->m_Mutex); NetGameServer_t netGameServer { g_pServerListManager->m_Server.m_svHostName,