PPCSymbolDB: GetDescription by std::string_view

Should save a lot of deep copies.
This commit is contained in:
mitaclaw
2024-04-12 23:25:03 -07:00
parent 1bfeeb8a63
commit 672be6a8cf
12 changed files with 49 additions and 29 deletions

View File

@@ -442,7 +442,7 @@ u32 PPCDebugInterface::GetColor(const Core::CPUThreadGuard* guard, u32 address)
}
// =============
std::string PPCDebugInterface::GetDescription(u32 address) const
std::string_view PPCDebugInterface::GetDescription(u32 address) const
{
return m_ppc_symbol_db.GetDescription(address);
}