diff --git a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp index f9a7d6efaf..aaa1eac5ca 100644 --- a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp +++ b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp @@ -112,7 +112,7 @@ Symbol* PPCSymbolDB::GetSymbolFromAddr(u32 addr) return nullptr; } -const std::string PPCSymbolDB::GetDescription(u32 addr) +std::string PPCSymbolDB::GetDescription(u32 addr) { Symbol* symbol = GetSymbolFromAddr(addr); if (symbol) diff --git a/Source/Core/Core/PowerPC/PPCSymbolDB.h b/Source/Core/Core/PowerPC/PPCSymbolDB.h index 25d05678fe..240f6ce83c 100644 --- a/Source/Core/Core/PowerPC/PPCSymbolDB.h +++ b/Source/Core/Core/PowerPC/PPCSymbolDB.h @@ -31,7 +31,7 @@ public: Symbol* GetSymbolFromAddr(u32 addr) override; - const std::string GetDescription(u32 addr); + std::string GetDescription(u32 addr); void FillInCallers();