mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Debugger: Fix warning on Debian builder
Fix "braces around scalar initializer [-Wbraced-scalar-init]" warning
This commit is contained in:
parent
db0ca3fc96
commit
d20f3c9e64
@ -182,7 +182,7 @@ Common::Debug::Threads PPCDebugInterface::GetThreads() const
|
||||
if (!active_thread->IsValid())
|
||||
return threads;
|
||||
|
||||
std::vector<u32> visited_addrs{{active_thread->GetAddress()}};
|
||||
std::vector<u32> visited_addrs{active_thread->GetAddress()};
|
||||
const auto insert_threads = [&threads, &visited_addrs](u32 addr, auto get_next_addr) {
|
||||
while (addr != 0 && PowerPC::HostIsRAMAddress(addr))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user