Commit 05e0b3b7 authored by Marc Rollins's avatar Marc Rollins

Fixing build error when using post-increment operator.

parent 6a94862f
......@@ -2564,7 +2564,7 @@ SparseMatConstIterator_<_Tp>::operator ++()
template<typename _Tp> inline SparseMatConstIterator_<_Tp>
SparseMatConstIterator_<_Tp>::operator ++(int)
{
SparseMatConstIterator it = *this;
SparseMatConstIterator_<_Tp> it = *this;
SparseMatConstIterator::operator ++();
return it;
}
......@@ -2608,7 +2608,7 @@ SparseMatIterator_<_Tp>::operator ++()
template<typename _Tp> inline SparseMatIterator_<_Tp>
SparseMatIterator_<_Tp>::operator ++(int)
{
SparseMatIterator it = *this;
SparseMatIterator_<_Tp> it = *this;
SparseMatConstIterator::operator ++();
return it;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment