1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

Spreadsheet: Add RowIterator::index()

This commit is contained in:
Karol Kosek 2021-08-21 22:32:43 +02:00 committed by Andreas Kling
parent 59eab8148d
commit f56e240981

View file

@ -148,6 +148,8 @@ public:
return m_index == other.m_index && &m_xsv == &other.m_xsv; return m_index == other.m_index && &m_xsv == &other.m_xsv;
} }
constexpr size_t index() const { return m_index; }
private: private:
XSV& m_xsv; XSV& m_xsv;
size_t m_index { 0 }; size_t m_index { 0 };