diff --git a/Source/Core/Core/DSP/LabelMap.cpp b/Source/Core/Core/DSP/LabelMap.cpp index d2ac003f23..dd045c5a44 100644 --- a/Source/Core/Core/DSP/LabelMap.cpp +++ b/Source/Core/Core/DSP/LabelMap.cpp @@ -12,6 +12,17 @@ namespace DSP { +struct LabelMap::Label +{ + Label(const std::string& lbl, s32 address, LabelType ltype) + : name(lbl), addr(address), type(ltype) + { + } + std::string name; + s32 addr; + LabelType type; +}; + LabelMap::LabelMap() = default; LabelMap::~LabelMap() = default; diff --git a/Source/Core/Core/DSP/LabelMap.h b/Source/Core/Core/DSP/LabelMap.h index 5458785610..e9bcd3950b 100644 --- a/Source/Core/Core/DSP/LabelMap.h +++ b/Source/Core/Core/DSP/LabelMap.h @@ -33,16 +33,7 @@ public: void Clear(); private: - struct label_t - { - label_t(const std::string& lbl, s32 address, LabelType ltype) - : name(lbl), addr(address), type(ltype) - { - } - std::string name; - s32 addr; - LabelType type; - }; - std::vector labels; + struct Label; + std::vector