diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-06-07 17:07:04 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-06-07 17:07:06 -0400 |
| commit | 98ec2ab2ac0d3f751efc566ba0a3c728dabe27ea (patch) | |
| tree | 5e8f58b186adc56425b38fe3c9bf422e51bca5f6 /Source | |
| parent | 0a1249ea40e4d8d3c1665c415a1516ca10c1f812 (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/DSP/LabelMap.cpp | 6 | ||||
| -rw-r--r-- | Source/Core/Core/DSP/LabelMap.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/Core/DSP/LabelMap.cpp b/Source/Core/Core/DSP/LabelMap.cpp index e2e157ba79..ef3c6479f8 100644 --- a/Source/Core/Core/DSP/LabelMap.cpp +++ b/Source/Core/Core/DSP/LabelMap.cpp @@ -11,9 +11,9 @@ namespace DSP { -LabelMap::LabelMap() -{ -} +LabelMap::LabelMap() = default; + +LabelMap::~LabelMap() = default; void LabelMap::RegisterDefaults() { diff --git a/Source/Core/Core/DSP/LabelMap.h b/Source/Core/Core/DSP/LabelMap.h index ac1cb42041..4f541959a9 100644 --- a/Source/Core/Core/DSP/LabelMap.h +++ b/Source/Core/Core/DSP/LabelMap.h @@ -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); |
