Merge pull request #10467 from Dentomologist/fix_scalar_initializer_braces_warning

Debugger: Fix warning on Debian builder
This commit is contained in:
Léo Lam 2022-03-02 12:56:09 +01:00 committed by GitHub
commit d32c72038a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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