mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -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:
|
||||
MxDSActionList() { this->m_unk18 = 0; }
|
||||
|
||||
virtual MxS8 Compare(MxDSAction*, MxDSAction*); // +0x14
|
||||
virtual MxS8 Compare(MxDSAction*, MxDSAction*) override; // +0x14
|
||||
|
||||
static void Destroy(MxDSAction* p_action);
|
||||
|
||||
|
|
|
@ -63,13 +63,12 @@ class MxHashTable : protected HashTableParent<T> {
|
|||
m_resizeOption = HASH_TABLE_OPT_NO_EXPAND;
|
||||
}
|
||||
|
||||
virtual ~MxHashTable();
|
||||
virtual ~MxHashTable() override;
|
||||
|
||||
void Resize();
|
||||
void Add(T*);
|
||||
|
||||
virtual MxS8 Compare(T*, T*) = 0;
|
||||
|
||||
virtual MxS8 Compare(T*, T*) override = 0;
|
||||
virtual MxU32 Hash(T*) = 0;
|
||||
|
||||
// FIXME: use of friend here?
|
||||
|
|
|
@ -70,7 +70,7 @@ class MxList : protected MxListParent<T> {
|
|||
m_first = NULL;
|
||||
}
|
||||
|
||||
virtual ~MxList();
|
||||
virtual ~MxList() override;
|
||||
|
||||
void Append(T p_obj) { _InsertEntry(p_obj, this->m_last, NULL); };
|
||||
void DeleteAll();
|
||||
|
|
|
@ -17,7 +17,7 @@ class MxPresenterListParent : public MxList<MxPresenter*> {
|
|||
// SIZE 0x18
|
||||
class MxPresenterList : public MxPresenterListParent {
|
||||
public:
|
||||
virtual MxS8 Compare(MxPresenter*, MxPresenter*); // +0x14
|
||||
virtual MxS8 Compare(MxPresenter*, MxPresenter*) override; // +0x14
|
||||
};
|
||||
|
||||
typedef MxListCursorChildChild<MxPresenter*> MxPresenterListCursor;
|
||||
|
|
|
@ -17,8 +17,8 @@ class MxVariableTable : public MxHashTable<MxVariable> {
|
|||
// OFFSET: LEGO1 0x100afdb0
|
||||
static void Destroy(MxVariable* p_obj) { p_obj->Destroy(); }
|
||||
|
||||
virtual MxS8 Compare(MxVariable*, MxVariable*); // +0x14
|
||||
virtual MxU32 Hash(MxVariable*); // +0x18
|
||||
virtual MxS8 Compare(MxVariable*, MxVariable*) override; // +0x14
|
||||
virtual MxU32 Hash(MxVariable*) override; // +0x18
|
||||
};
|
||||
|
||||
// OFFSET: LEGO1 0x100b0bd0 TEMPLATE
|
||||
|
|
Loading…
Reference in a new issue