mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 18:07:58 -05:00
Common: Don't return a reference to a string when calling GetName in symbols.cpp
Returning a copy of the string is what was likely meant to be done.
This commit is contained in:
@ -40,7 +40,7 @@ namespace Symbols
|
||||
|
||||
return symbol;
|
||||
}
|
||||
const std::string& GetName(u32 _address)
|
||||
const std::string GetName(u32 _address)
|
||||
{
|
||||
return GetSymbol(_address).name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user