Skip to content

Commit

Permalink
DSP/LabelMap: Default constructor and destructor
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lioncash committed Jun 7, 2019
1 parent 0a1249e commit 98ec2ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Source/Core/Core/DSP/LabelMap.cpp
Expand Up @@ -11,9 +11,9 @@


namespace DSP namespace DSP
{ {
LabelMap::LabelMap() LabelMap::LabelMap() = default;
{
} LabelMap::~LabelMap() = default;


void LabelMap::RegisterDefaults() void LabelMap::RegisterDefaults()
{ {
Expand Down
3 changes: 2 additions & 1 deletion Source/Core/Core/DSP/LabelMap.h
Expand Up @@ -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);
Expand Down

0 comments on commit 98ec2ab

Please sign in to comment.