From a3c8fb06c528c513d83d425c06d6663fe7595333 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 21 Jul 2021 09:36:52 +0200 Subject: [PATCH] NetPlayClient: Remove a designated initializer release-ubu-x64 currently fails with "sorry, unimplemented: non-trivial designated initializers not supported". pr-ubu-x64 doesn't for some reason, but we might as well remove the designated initializer. --- Source/Core/Core/NetPlayClient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/NetPlayClient.cpp b/Source/Core/Core/NetPlayClient.cpp index e0e5a27518..ccd371e9ed 100644 --- a/Source/Core/Core/NetPlayClient.cpp +++ b/Source/Core/Core/NetPlayClient.cpp @@ -2534,7 +2534,8 @@ PadDetails GetPadDetails(int pad_num) { std::lock_guard lk(crit_netplay_client); - PadDetails res{.local_pad = 4}; + PadDetails res{}; + res.local_pad = 4; if (!netplay_client) return res;