Skip to content
Permalink
Browse files

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.
  • Loading branch information...
lioncash committed Jun 7, 2019
1 parent 0a1249e commit 98ec2ab2ac0d3f751efc566ba0a3c728dabe27ea
Showing with 5 additions and 4 deletions.
  1. +3 −3 Source/Core/Core/DSP/LabelMap.cpp
  2. +2 −1 Source/Core/Core/DSP/LabelMap.h
@@ -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);

0 comments on commit 98ec2ab

Please sign in to comment.
You can’t perform that action at this time.