mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
Spreadsheet: Add RowIterator::index()
This commit is contained in:
parent
59eab8148d
commit
f56e240981
Notes:
sideshowbarker
2024-07-19 17:17:04 +09:00
Author: https://github.com/krkk
Commit: f56e240981
Pull-request: https://github.com/SerenityOS/serenity/pull/9576
Reviewed-by: https://github.com/alimpfard
1 changed files with 2 additions and 0 deletions
|
@ -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 };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue