mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Adding missing const to string
This commit is contained in:
parent
d6066f190c
commit
5fa35ed975
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ void CodeViewWidget::OnCopyWholeLine()
|
||||||
|
|
||||||
Core::CPUThreadGuard guard(m_system);
|
Core::CPUThreadGuard guard(m_system);
|
||||||
|
|
||||||
std::string text_code = m_system.GetPowerPC().GetDebugInterface().Disassemble(&guard, addr);
|
const std::string text_code = m_system.GetPowerPC().GetDebugInterface().Disassemble(&guard, addr);
|
||||||
std::string whole_line = fmt::format("{:08x} {}", addr, text_code);
|
std::string whole_line = fmt::format("{:08x} {}", addr, text_code);
|
||||||
|
|
||||||
if (IsInstructionLoadStore(text_code))
|
if (IsInstructionLoadStore(text_code))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue