fix build warnings

This commit is contained in:
Alexander Alekhin 2018-10-10 19:26:19 +00:00
parent ad93ed720d
commit 7813eef92b

View File

@ -52,6 +52,10 @@ using namespace cv::cuda;
#include "opencv2/xfeatures2d.hpp" #include "opencv2/xfeatures2d.hpp"
using xfeatures2d::SURF; using xfeatures2d::SURF;
using xfeatures2d::SIFT; using xfeatures2d::SIFT;
#else
# if defined(_MSC_VER)
# pragma warning(disable:4702) // unreachable code
# endif
#endif #endif
#ifdef HAVE_OPENCV_CUDAIMGPROC #ifdef HAVE_OPENCV_CUDAIMGPROC