diff --git a/source/workbook/worksheet_iterator.cpp b/source/workbook/worksheet_iterator.cpp index e547549a..b492685c 100644 --- a/source/workbook/worksheet_iterator.cpp +++ b/source/workbook/worksheet_iterator.cpp @@ -58,4 +58,10 @@ bool worksheet_iterator::operator==(const worksheet_iterator &comparand) const return index_ == comparand.index_ && wb_ == comparand.wb_; } +worksheet_iterator &worksheet_iterator::operator=(const worksheet_iterator &other) +{ + index_ = other.index_; + return *this; +} + } // namespace xlnt