fixed SparseMat Iterator compilation error (bug #2921)
This commit is contained in:
parent
656594ad4f
commit
9d7e51eb46
@ -3767,6 +3767,7 @@ public:
|
||||
SparseMatConstIterator_();
|
||||
//! the full constructor setting the iterator to the first sparse matrix element
|
||||
SparseMatConstIterator_(const SparseMat_<_Tp>* _m);
|
||||
SparseMatConstIterator_(const SparseMat* _m);
|
||||
//! the copy constructor
|
||||
SparseMatConstIterator_(const SparseMatConstIterator_& it);
|
||||
|
||||
@ -3796,6 +3797,7 @@ public:
|
||||
SparseMatIterator_();
|
||||
//! the full constructor setting the iterator to the first sparse matrix element
|
||||
SparseMatIterator_(SparseMat_<_Tp>* _m);
|
||||
SparseMatIterator_(SparseMat* _m);
|
||||
//! the copy constructor
|
||||
SparseMatIterator_(const SparseMatIterator_& it);
|
||||
|
||||
|
@ -2530,6 +2530,13 @@ SparseMatConstIterator_<_Tp>::SparseMatConstIterator_(const SparseMat_<_Tp>* _m)
|
||||
: SparseMatConstIterator(_m)
|
||||
{}
|
||||
|
||||
template<typename _Tp> inline
|
||||
SparseMatConstIterator_<_Tp>::SparseMatConstIterator_(const SparseMat* _m)
|
||||
: SparseMatConstIterator(_m)
|
||||
{
|
||||
CV_Assert( _m->type() == DataType<_Tp>::type );
|
||||
}
|
||||
|
||||
template<typename _Tp> inline
|
||||
SparseMatConstIterator_<_Tp>::SparseMatConstIterator_(const SparseMatConstIterator_<_Tp>& it)
|
||||
: SparseMatConstIterator(it)
|
||||
@ -2569,6 +2576,11 @@ SparseMatIterator_<_Tp>::SparseMatIterator_(SparseMat_<_Tp>* _m)
|
||||
: SparseMatConstIterator_<_Tp>(_m)
|
||||
{}
|
||||
|
||||
template<typename _Tp> inline
|
||||
SparseMatIterator_<_Tp>::SparseMatIterator_(SparseMat* _m)
|
||||
: SparseMatConstIterator_<_Tp>(_m)
|
||||
{}
|
||||
|
||||
template<typename _Tp> inline
|
||||
SparseMatIterator_<_Tp>::SparseMatIterator_(const SparseMatIterator_<_Tp>& it)
|
||||
: SparseMatConstIterator_<_Tp>(it)
|
||||
|
Loading…
Reference in New Issue
Block a user