mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
gapi(test): ban and get rid of countNonZero() checks
This commit is contained in:
committed by
Alexander Alekhin
parent
102ef39a27
commit
f2d3edec80
@@ -28,4 +28,9 @@
|
||||
#include <opencv2/gapi/fluid/core.hpp>
|
||||
#include <opencv2/gapi/infer.hpp>
|
||||
|
||||
namespace cv {
|
||||
static inline void countNonZero_is_forbidden_in_tests_use_norm_instead() {}
|
||||
}
|
||||
#define countNonZero() countNonZero_is_forbidden_in_tests_use_norm_instead()
|
||||
|
||||
#endif // __OPENCV_GAPI_TEST_PRECOMP_HPP__
|
||||
|
||||
Reference in New Issue
Block a user