From f56e24098134039293e88519a62eb33007c80ab0 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Sat, 21 Aug 2021 22:32:43 +0200 Subject: Spreadsheet: Add RowIterator::index() --- Userland/Applications/Spreadsheet/Readers/XSV.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/Applications/Spreadsheet/Readers') diff --git a/Userland/Applications/Spreadsheet/Readers/XSV.h b/Userland/Applications/Spreadsheet/Readers/XSV.h index d5d7bcfb07..127164deb4 100644 --- a/Userland/Applications/Spreadsheet/Readers/XSV.h +++ b/Userland/Applications/Spreadsheet/Readers/XSV.h @@ -148,6 +148,8 @@ public: return m_index == other.m_index && &m_xsv == &other.m_xsv; } + constexpr size_t index() const { return m_index; } + private: XSV& m_xsv; size_t m_index { 0 }; -- cgit v1.2.3