fixed several GCC warnings; fixed crash in kmeans test (because of cv::swap(Mat&a, Mat&b)) (ticket #616)
This commit is contained in:
@@ -2776,12 +2776,9 @@ public:
|
||||
MatCommaInitializer_(Mat_<_Tp>* _m);
|
||||
//! the operator that takes the next value and put it to the matrix
|
||||
template<typename T2> MatCommaInitializer_<_Tp>& operator , (T2 v);
|
||||
//! the conversion operator
|
||||
//operator Mat_<_Tp>() const;
|
||||
//! another form of conversion operator
|
||||
Mat_<_Tp> operator *() const;
|
||||
operator Mat_<_Tp>() const;
|
||||
virtual void assignTo(Mat& m, int type=-1) const;
|
||||
protected:
|
||||
MatIterator_<_Tp> it;
|
||||
};
|
||||
|
@@ -1938,12 +1938,6 @@ template<typename _Tp> inline MatCommaInitializer_<_Tp>::operator Mat_<_Tp>() co
|
||||
return Mat_<_Tp>(*this->it.m);
|
||||
}
|
||||
|
||||
template<typename _Tp> inline void
|
||||
MatCommaInitializer_<_Tp>::assignTo(Mat& m, int type) const
|
||||
{
|
||||
Mat_<_Tp>(*this).assignTo(m, type);
|
||||
}
|
||||
|
||||
template<typename _Tp, typename T2> static inline MatCommaInitializer_<_Tp>
|
||||
operator << (const Mat_<_Tp>& m, T2 val)
|
||||
{
|
||||
|
Reference in New Issue
Block a user