Spreadsheet: Add RowIterator::index()

This commit is contained in:
Karol Kosek 2021-08-21 22:32:43 +02:00 committed by Andreas Kling
commit f56e240981
Notes: sideshowbarker 2024-07-19 17:17:04 +09:00

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 };