Merge pull request #18621 from dbudniko:gapi_ww43_2020_KW_fixes

This commit is contained in:
Alexander Alekhin 2020-10-19 17:16:11 +00:00
commit c3e8790dfd
2 changed files with 3 additions and 1 deletions

View File

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

View File

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