objdetect: fix wrong cxx11 features check

This commit is contained in:
Vladislav Sovrasov
2017-09-07 12:25:36 +03:00
parent 2ac57a2b1f
commit f2105419fa
2 changed files with 9 additions and 7 deletions
@@ -44,9 +44,11 @@
#ifndef OPENCV_OBJDETECT_DBT_HPP
#define OPENCV_OBJDETECT_DBT_HPP
#include <opencv2/core.hpp>
// After this condition removal update blacklist for bindings: modules/python/common.cmake
#if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(__ANDROID__) || \
(defined(__cplusplus) && __cplusplus > 199711L) || (defined(_MSC_VER) && _MSC_VER >= 1700)
defined(CV_CXX11)
#include <vector>