pull/18621/head
Dmitry Budnikov 4 years ago
parent 5ac0712cf1
commit dcfa23d5d2
  1. 1
      modules/gapi/include/opencv2/gapi/media.hpp
  2. 3
      modules/gapi/test/common/gapi_core_tests_inl.hpp

@ -51,6 +51,7 @@ public:
View(Ptrs&& ptrs, Strides&& strs, Callback &&cb = [](){}); View(Ptrs&& ptrs, Strides&& strs, Callback &&cb = [](){});
View(const View&) = delete; View(const View&) = delete;
View(View&&) = default; View(View&&) = default;
View& operator = (const View&) = delete;
~View(); ~View();
Ptrs ptr; Ptrs ptr;

@ -618,7 +618,8 @@ TEST_P(SumTest, AccuracyTest)
#undef countNonZero #undef countNonZero
TEST_P(CountNonZeroTest, AccuracyTest) TEST_P(CountNonZeroTest, AccuracyTest)
{ {
int out_cnz_gapi, out_cnz_ocv; int out_cnz_gapi = -1;
int out_cnz_ocv = -2;
// G-API code ////////////////////////////////////////////////////////////// // G-API code //////////////////////////////////////////////////////////////
cv::GMat in; cv::GMat in;

Loading…
Cancel
Save