mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 04:00:30 +08:00
Fixing build error when using post-increment operator.
This commit is contained in:
parent
6a94862fef
commit
05e0b3b7e6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user