summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2025-08-25 20:17:31 +0100
committerTillmann Karras <tilkax@gmail.com>2025-08-30 03:05:35 +0100
commitc248f1afa4187e5f7bebb8cbbcb66f83d5e3b6ad (patch)
treec43f1e2d801250ead7cf7346a5e46e07a4815acf
parent63257d1ee9773e55c058ad65700cbfb212fd70fe (diff)
IOS/WD: fix wrong BitSet ctor being called
We don't want list initialization here. Thank you, UB-san.
-rw-r--r--Source/Core/Core/IOS/Network/WD/Command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/IOS/Network/WD/Command.cpp b/Source/Core/Core/IOS/Network/WD/Command.cpp
index ea788a7052..676650c660 100644
--- a/Source/Core/Core/IOS/Network/WD/Command.cpp
+++ b/Source/Core/Core/IOS/Network/WD/Command.cpp
@@ -28,7 +28,7 @@ constexpr u16 LegalNitroChannelMask = 0b0011'1111'1111'1110u;
u16 SelectWifiChannel(u16 enabled_channels_mask, u16 current_channel)
{
- const Common::BitSet<u16> enabled_channels{enabled_channels_mask & LegalChannelMask};
+ const Common::BitSet<u16> enabled_channels(enabled_channels_mask & LegalChannelMask);
u16 next_channel = current_channel;
for (int i = 0; i < 16; ++i)
{