mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
SymbolDB: Add constructors to Symbol
Allows for much more convenient in-place construction.
This commit is contained in:
@ -37,6 +37,9 @@ struct Symbol
|
||||
Data,
|
||||
};
|
||||
|
||||
Symbol() = default;
|
||||
explicit Symbol(const std::string& name) { Rename(name); }
|
||||
|
||||
void Rename(const std::string& symbol_name);
|
||||
|
||||
std::string name;
|
||||
|
Reference in New Issue
Block a user