Revert "cell iterator - add operator->"

This reverts commit 1b705ae043ae1b43d0ecbc93da04c944383bb296.
This commit is contained in:
Crzyrndm 2018-05-31 15:41:57 +12:00
parent bc8cd21d67
commit 62e0a7dd17
2 changed files with 1 additions and 26 deletions

View File

@ -96,15 +96,6 @@ public:
/// </summary>
const reference operator*() const;
/// <summary>
/// Dereferences this iterator to return the cell it points to.
/// </summary>
reference operator->();
/// <summary>
/// Dereferences this iterator to return the cell it points to.
/// </summary>
const reference operator->() const;
/// <summary>
/// Returns true if this iterator is equivalent to other.
@ -231,7 +222,7 @@ public:
/// <summary>
/// Dereferences this iterator to return the cell it points to.
/// </summary>
const reference operator->() const;
const cell operator*() const;
/// <summary>
/// Returns true if this iterator is equivalent to other.

View File

@ -279,20 +279,4 @@ const const_cell_iterator::reference const_cell_iterator::operator*() const
{
return ws_.cell(cursor_);
}
cell_iterator::reference cell_iterator::operator->()
{
return operator*();
}
const cell_iterator::reference cell_iterator::operator->() const
{
return operator*();
}
const const_cell_iterator::reference const_cell_iterator::operator->() const
{
return operator*();
}
} // namespace xlnt