mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48: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
|
namespace DSP
|
||||||
{
|
{
|
||||||
LabelMap::LabelMap()
|
LabelMap::LabelMap() = default;
|
||||||
{
|
|
||||||
}
|
LabelMap::~LabelMap() = default;
|
||||||
|
|
||||||
void LabelMap::RegisterDefaults()
|
void LabelMap::RegisterDefaults()
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,8 @@ class LabelMap
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LabelMap();
|
LabelMap();
|
||||||
~LabelMap() {}
|
~LabelMap();
|
||||||
|
|
||||||
void RegisterDefaults();
|
void RegisterDefaults();
|
||||||
void RegisterLabel(const std::string& label, u16 lval, LabelType type = LABEL_VALUE);
|
void RegisterLabel(const std::string& label, u16 lval, LabelType type = LABEL_VALUE);
|
||||||
void DeleteLabel(const std::string& label);
|
void DeleteLabel(const std::string& label);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue