mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06: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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user