Remove rowset_iterator post-increment operator

It doesn't make sense for an input iterator and didn't work correctly.

Closes #1327.
This commit is contained in:
Vadim Zeitlin
2026-03-18 16:33:40 +01:00
parent 1bf4734cda
commit 632b822775

View File

@@ -58,7 +58,8 @@ public:
return &(operator*());
}
// Iteration operators
// Iteration operator: as this is an input operator, it only supports
// pre-increment
rowset_iterator & operator++()
{
@@ -74,13 +75,6 @@ public:
return (*this);
}
rowset_iterator operator++(int)
{
rowset_iterator tmp(*this);
++(*this);
return tmp;
}
// Comparison operators
bool operator==(rowset_iterator const & rhs) const