Commit 969855d7 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

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

parent ebb9c615
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment