mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Revert "cell iterator - add operator->"
This reverts commit 1b705ae043ae1b43d0ecbc93da04c944383bb296.
This commit is contained in:
parent
2169d24714
commit
b6e44f1faa
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user