Merge pull request #10467 from Dentomologist/fix_scalar_initializer_braces_warning
Debugger: Fix warning on Debian builder
This commit is contained in:
commit
d32c72038a
|
@ -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…
Reference in New Issue