mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
fixed MatConstIterator::operator *() (the bug caused "operations" test failure; ticket #613)
This commit is contained in:
parent
ebb9c61546
commit
969855d72a
@ -1704,7 +1704,7 @@ template<typename _Tp> inline MatConstIterator_<_Tp>&
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<typename _Tp> inline _Tp MatConstIterator_<_Tp>::operator *() const { return *ptr; }
|
||||
template<typename _Tp> inline _Tp MatConstIterator_<_Tp>::operator *() const { return *(_Tp*)(this->ptr); }
|
||||
|
||||
template<typename _Tp> inline MatConstIterator_<_Tp>& MatConstIterator_<_Tp>::operator += (ptrdiff_t ofs)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user