mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-22 04:24:56 +00:00
DSP/LabelMap: Default constructor and destructor
We also move the destructor definition into the cpp file, as that will allow us to make the entire label_t type hidden from external view in a following change.
This commit is contained in:
parent
0a1249ea40
commit
98ec2ab2ac
2 changed files with 5 additions and 4 deletions
|
@ -11,9 +11,9 @@
|
|||
|
||||
namespace DSP
|
||||
{
|
||||
LabelMap::LabelMap()
|
||||
{
|
||||
}
|
||||
LabelMap::LabelMap() = default;
|
||||
|
||||
LabelMap::~LabelMap() = default;
|
||||
|
||||
void LabelMap::RegisterDefaults()
|
||||
{
|
||||
|
|
|
@ -23,7 +23,8 @@ class LabelMap
|
|||
{
|
||||
public:
|
||||
LabelMap();
|
||||
~LabelMap() {}
|
||||
~LabelMap();
|
||||
|
||||
void RegisterDefaults();
|
||||
void RegisterLabel(const std::string& label, u16 lval, LabelType type = LABEL_VALUE);
|
||||
void DeleteLabel(const std::string& label);
|
||||
|
|
Loading…
Add table
Reference in a new issue