From d20f3c9e64cb70251d9375cd1483b959d1248ac8 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sat, 19 Feb 2022 08:46:03 -0800 Subject: [PATCH] Debugger: Fix warning on Debian builder Fix "braces around scalar initializer [-Wbraced-scalar-init]" warning --- Source/Core/Core/Debugger/PPCDebugInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Debugger/PPCDebugInterface.cpp b/Source/Core/Core/Debugger/PPCDebugInterface.cpp index 2d6e83c7cc..42082a5cfb 100644 --- a/Source/Core/Core/Debugger/PPCDebugInterface.cpp +++ b/Source/Core/Core/Debugger/PPCDebugInterface.cpp @@ -182,7 +182,7 @@ Common::Debug::Threads PPCDebugInterface::GetThreads() const if (!active_thread->IsValid()) return threads; - std::vector visited_addrs{{active_thread->GetAddress()}}; + std::vector visited_addrs{active_thread->GetAddress()}; const auto insert_threads = [&threads, &visited_addrs](u32 addr, auto get_next_addr) { while (addr != 0 && PowerPC::HostIsRAMAddress(addr)) {