mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 00:27:43 +00:00
RuntimeCommon: Use const on member functions where applicable
Adds missing const qualifiers on class member functions that don't modify instance state.
This commit is contained in:
@@ -56,6 +56,7 @@ public:
|
||||
~CGuiFrame();
|
||||
|
||||
CGuiSys& GetGuiSys() { return x8_guiSys; }
|
||||
const CGuiSys& GetGuiSys() const { return x8_guiSys; }
|
||||
CAssetId GetAssetId() const { return x0_id; }
|
||||
|
||||
CGuiLight* GetFrameLight(int idx) const { return m_indexedLights[idx]; }
|
||||
@@ -100,6 +101,7 @@ public:
|
||||
void ResetMouseState();
|
||||
|
||||
CGuiWidgetIdDB& GetWidgetIdDB() { return x18_idDB; }
|
||||
const CGuiWidgetIdDB& GetWidgetIdDB() const { return x18_idDB; }
|
||||
|
||||
static std::unique_ptr<CGuiFrame> CreateFrame(CAssetId frmeId, CGuiSys& sys, CInputStream& in, CSimplePool* sp);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user