fixed MatConstIterator::operator *() (the bug caused "operations" test failure; ticket #613)
This commit is contained in:
@@ -1704,7 +1704,7 @@ template<typename _Tp> inline MatConstIterator_<_Tp>&
|
|||||||
return *this;
|
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)
|
template<typename _Tp> inline MatConstIterator_<_Tp>& MatConstIterator_<_Tp>::operator += (ptrdiff_t ofs)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user