fixed MatConstIterator::operator *() (the bug caused "operations" test failure; ticket #613)

pull/13383/head
Vadim Pisarevsky 14 years ago
parent ebb9c61546
commit 969855d72a
  1. 2
      modules/core/include/opencv2/core/mat.hpp

@ -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…
Cancel
Save