From 5fa35ed975ec48edbf44eebb34bbe39909b691da Mon Sep 17 00:00:00 2001 From: Nitch2024 Date: Mon, 31 Mar 2025 11:16:38 -0700 Subject: [PATCH] Adding missing const to string --- Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index f1b05b5821..f72cd01d00 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -833,7 +833,7 @@ void CodeViewWidget::OnCopyWholeLine() 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); if (IsInstructionLoadStore(text_code))