File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
modules/core/include/opencv2/core Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,7 @@ class CV_EXPORTS _OutputArray : public _InputArray
294
294
template <typename _Tp> _OutputArray (std::vector<_Tp>& vec);
295
295
_OutputArray (std::vector<bool >& vec);
296
296
template <typename _Tp> _OutputArray (std::vector<std::vector<_Tp> >& vec);
297
+ _OutputArray (std::vector<std::vector<bool > >&);
297
298
template <typename _Tp> _OutputArray (std::vector<Mat_<_Tp> >& vec);
298
299
template <typename _Tp> _OutputArray (Mat_<_Tp>& m);
299
300
template <typename _Tp> _OutputArray (_Tp* vec, int n);
Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ template<typename _Tp> inline
161
161
_OutputArray::_OutputArray (std::vector<std::vector<_Tp> >& vec)
162
162
{ init (FIXED_TYPE + STD_VECTOR_VECTOR + DataType<_Tp>::type + ACCESS_WRITE, &vec); }
163
163
164
+ inline
165
+ _OutputArray::_OutputArray (std::vector<std::vector<bool > >&)
166
+ { CV_Error (Error::StsUnsupportedFormat, " std::vector<std::vector<bool> > cannot be an output array\n " ); }
167
+
164
168
template <typename _Tp> inline
165
169
_OutputArray::_OutputArray (std::vector<Mat_<_Tp> >& vec)
166
170
{ init (FIXED_TYPE + STD_VECTOR_MAT + DataType<_Tp>::type + ACCESS_WRITE, &vec); }
You can’t perform that action at this time.
0 commit comments