[opencv] 13/98: Add missing implementation to one of the Mat_<_Tp> constructor. (#5945)
Mattia Rizzolo
mattia at debian.org
Tue Oct 4 17:51:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to annotated tag 2.4.13
in repository opencv.
commit 537d1322b469daff93432621d0c7fae3ec7f2546
Author: takacsd <takacsd at gmail.com>
Date: Mon Jan 11 16:05:22 2016 +0100
Add missing implementation to one of the Mat_<_Tp> constructor. (#5945)
---
modules/core/include/opencv2/core/mat.hpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/core/include/opencv2/core/mat.hpp b/modules/core/include/opencv2/core/mat.hpp
index e10cd95..631c698 100644
--- a/modules/core/include/opencv2/core/mat.hpp
+++ b/modules/core/include/opencv2/core/mat.hpp
@@ -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) {}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git
More information about the debian-science-commits
mailing list