Debugger: Fix warning on Debian builder

Fix "braces around scalar initializer [-Wbraced-scalar-init]" warning
This commit is contained in:
Dentomologist 2022-02-19 08:46:03 -08:00
parent db0ca3fc96
commit d20f3c9e64

View File

@ -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))
{