mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where member function overriding is occurring. This only targets the RuntimeCommonB target as a starting point, which resolves around 900+ cases where the keyword could be used.
This commit is contained in:
@@ -45,7 +45,7 @@ private:
|
||||
|
||||
public:
|
||||
CGuiTableGroup(const CGuiWidgetParms& parms, int, int, bool);
|
||||
FourCC GetWidgetTypeID() const { return FOURCC('TBGP'); }
|
||||
FourCC GetWidgetTypeID() const override { return FOURCC('TBGP'); }
|
||||
|
||||
void SetMenuAdvanceCallback(std::function<void(CGuiTableGroup*)>&& cb) { xd4_doMenuAdvance = std::move(cb); }
|
||||
|
||||
@@ -84,9 +84,9 @@ public:
|
||||
|
||||
void SetWorkersMouseActive(bool);
|
||||
|
||||
void ProcessUserInput(const CFinalInput& input);
|
||||
void ProcessUserInput(const CFinalInput& input) override;
|
||||
|
||||
bool AddWorkerWidget(CGuiWidget* worker) { return true; }
|
||||
bool AddWorkerWidget(CGuiWidget* worker) override { return true; }
|
||||
|
||||
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user