mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
RetroDataSpec: Make member functions const where applicable
Marks member functions that don't modify instance state as const.
This commit is contained in:
@@ -208,7 +208,7 @@ public:
|
||||
m_cur = m_dl.get();
|
||||
}
|
||||
|
||||
operator bool() { return ((m_cur - m_dl.get()) < intptr_t(m_dlSize)) && *m_cur; }
|
||||
explicit operator bool() const { return ((m_cur - m_dl.get()) < intptr_t(m_dlSize)) && *m_cur; }
|
||||
|
||||
GX::Primitive readPrimitive() { return GX::Primitive(*m_cur++ & 0xf8); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user