mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
SymbolDB: Add constructors to Symbol
Allows for much more convenient in-place construction.
This commit is contained in:
parent
a14d8003f4
commit
15d1ae3a8a
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue