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

This commit is contained in:
Vadim Pisarevsky 2010-10-22 11:47:11 +00:00
parent ebb9c61546
commit 969855d72a

View File

@ -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)
{