Fixed two warnings produced by clang

pull/11188/head
Maksim Shabunin 7 years ago
parent 7dc88f26f2
commit 439072a2a6
  1. 2
      modules/highgui/src/window_QT.cpp
  2. 3
      modules/ts/include/opencv2/ts.hpp

@ -44,7 +44,7 @@
#include <memory>
#include <window_QT.h>
#include "window_QT.h"
#include <math.h>

@ -63,6 +63,9 @@
# endif
#endif
#if defined(__OPENCV_BUILD) && defined(__clang__)
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
#endif
#if defined(__OPENCV_BUILD) && defined(__GNUC__) && __GNUC__ >= 5
//#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsuggest-override"

Loading…
Cancel
Save