mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Add missing implementation to one of the Mat_<_Tp> constructor. (#5945)
This commit is contained in:
parent
8a803865cf
commit
537d1322b4
@ -821,6 +821,9 @@ template<typename _Tp> inline Mat_<_Tp>::Mat_(int _dims, const int* _sz)
|
||||
template<typename _Tp> inline Mat_<_Tp>::Mat_(int _dims, const int* _sz, const _Tp& _s)
|
||||
: Mat(_dims, _sz, DataType<_Tp>::type, Scalar(_s)) {}
|
||||
|
||||
template<typename _Tp> inline Mat_<_Tp>::Mat_(int _dims, const int* _sz, _Tp* _data, const size_t* _steps)
|
||||
: Mat(_dims, _sz, DataType<_Tp>::type, _data, _steps) {}
|
||||
|
||||
template<typename _Tp> inline Mat_<_Tp>::Mat_(const Mat_<_Tp>& m, const Range* ranges)
|
||||
: Mat(m, ranges) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user