mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +01: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())
|
if (!active_thread->IsValid())
|
||||||
return threads;
|
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) {
|
const auto insert_threads = [&threads, &visited_addrs](u32 addr, auto get_next_addr) {
|
||||||
while (addr != 0 && PowerPC::HostIsRAMAddress(addr))
|
while (addr != 0 && PowerPC::HostIsRAMAddress(addr))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user