mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-17 17:07:57 -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:
@ -32,7 +32,7 @@ namespace Symbols
|
||||
|
||||
void Add(u32 _address, const std::string& _name, u32 _size, u32 _type);
|
||||
TSymbol GetSymbol(u32 _address);
|
||||
const std::string& GetName(u32 _address);
|
||||
const std::string GetName(u32 _address);
|
||||
void Remove(u32 _address);
|
||||
void Clear();
|
||||
};
|
||||
|
Reference in New Issue
Block a user