Merge pull request #15292 from alalek:build_warnings_xcode_10_3

pull/15295/head^2
Alexander Alekhin 5 years ago
commit 7c96857c02
  1. 4
      modules/core/test/test_ptr.cpp

@ -43,6 +43,10 @@
namespace opencv_test { namespace {
#if defined __clang__ && defined __APPLE__
#pragma clang diagnostic ignored "-Wself-assign-overloaded" // explicitly assigning value of variable of type '...' to itself (p1 = p1)
#endif
#ifdef GTEST_CAN_COMPARE_NULL
# define EXPECT_NULL(ptr) EXPECT_EQ(NULL, ptr)
#else

Loading…
Cancel
Save