diff options
| author | JosJuice <josjuice@gmail.com> | 2021-07-21 09:36:52 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2021-07-21 09:36:52 +0200 |
| commit | a3c8fb06c528c513d83d425c06d6663fe7595333 (patch) | |
| tree | fea00eb3a148cd14945743c4e5d81f79f47cab32 /Source/Core | |
| parent | 46f7074bf7fee999eee24e54b4b4d2db4a41b1d8 (diff) | |
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.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/NetPlayClient.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
