mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +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:
@@ -396,7 +396,7 @@ public:
|
||||
++m_idx;
|
||||
return *this;
|
||||
}
|
||||
bool operator*() { return m_bmp.getBit(m_idx); }
|
||||
bool operator*() const { return m_bmp.getBit(m_idx); }
|
||||
bool operator!=(const Iterator& other) const { return m_idx != other.m_idx; }
|
||||
};
|
||||
Iterator begin() const { return Iterator(*this, 0); }
|
||||
|
||||
Reference in New Issue
Block a user