mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-04 06:30:46 -07: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