Fixing build error when using post-increment operator.

This commit is contained in:
Marc Rollins 2014-06-19 14:14:10 -07:00
parent 6a94862fef
commit 05e0b3b7e6

View File

@ -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;
}