mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-23 07:58:21 -05:00
Add missing override keywords
This commit is contained in:
parent
1f6d1ddab0
commit
82697d7148
5 changed files with 7 additions and 8 deletions
|
@ -12,7 +12,7 @@ class MxDSActionList : public MxList<MxDSAction*> {
|
||||||
public:
|
public:
|
||||||
MxDSActionList() { this->m_unk18 = 0; }
|
MxDSActionList() { this->m_unk18 = 0; }
|
||||||
|
|
||||||
virtual MxS8 Compare(MxDSAction*, MxDSAction*); // +0x14
|
virtual MxS8 Compare(MxDSAction*, MxDSAction*) override; // +0x14
|
||||||
|
|
||||||
static void Destroy(MxDSAction* p_action);
|
static void Destroy(MxDSAction* p_action);
|
||||||
|
|
||||||
|
|
|
@ -63,13 +63,12 @@ class MxHashTable : protected HashTableParent<T> {
|
||||||
m_resizeOption = HASH_TABLE_OPT_NO_EXPAND;
|
m_resizeOption = HASH_TABLE_OPT_NO_EXPAND;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~MxHashTable();
|
virtual ~MxHashTable() override;
|
||||||
|
|
||||||
void Resize();
|
void Resize();
|
||||||
void Add(T*);
|
void Add(T*);
|
||||||
|
|
||||||
virtual MxS8 Compare(T*, T*) = 0;
|
virtual MxS8 Compare(T*, T*) override = 0;
|
||||||
|
|
||||||
virtual MxU32 Hash(T*) = 0;
|
virtual MxU32 Hash(T*) = 0;
|
||||||
|
|
||||||
// FIXME: use of friend here?
|
// FIXME: use of friend here?
|
||||||
|
|
|
@ -70,7 +70,7 @@ class MxList : protected MxListParent<T> {
|
||||||
m_first = NULL;
|
m_first = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~MxList();
|
virtual ~MxList() override;
|
||||||
|
|
||||||
void Append(T p_obj) { _InsertEntry(p_obj, this->m_last, NULL); };
|
void Append(T p_obj) { _InsertEntry(p_obj, this->m_last, NULL); };
|
||||||
void DeleteAll();
|
void DeleteAll();
|
||||||
|
|
|
@ -17,7 +17,7 @@ class MxPresenterListParent : public MxList<MxPresenter*> {
|
||||||
// SIZE 0x18
|
// SIZE 0x18
|
||||||
class MxPresenterList : public MxPresenterListParent {
|
class MxPresenterList : public MxPresenterListParent {
|
||||||
public:
|
public:
|
||||||
virtual MxS8 Compare(MxPresenter*, MxPresenter*); // +0x14
|
virtual MxS8 Compare(MxPresenter*, MxPresenter*) override; // +0x14
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef MxListCursorChildChild<MxPresenter*> MxPresenterListCursor;
|
typedef MxListCursorChildChild<MxPresenter*> MxPresenterListCursor;
|
||||||
|
|
|
@ -17,8 +17,8 @@ class MxVariableTable : public MxHashTable<MxVariable> {
|
||||||
// OFFSET: LEGO1 0x100afdb0
|
// OFFSET: LEGO1 0x100afdb0
|
||||||
static void Destroy(MxVariable* p_obj) { p_obj->Destroy(); }
|
static void Destroy(MxVariable* p_obj) { p_obj->Destroy(); }
|
||||||
|
|
||||||
virtual MxS8 Compare(MxVariable*, MxVariable*); // +0x14
|
virtual MxS8 Compare(MxVariable*, MxVariable*) override; // +0x14
|
||||||
virtual MxU32 Hash(MxVariable*); // +0x18
|
virtual MxU32 Hash(MxVariable*) override; // +0x18
|
||||||
};
|
};
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100b0bd0 TEMPLATE
|
// OFFSET: LEGO1 0x100b0bd0 TEMPLATE
|
||||||
|
|
Loading…
Reference in a new issue