objdetect: Properly check for C++11 as it's done in the matching .cpp file. Fixes #7623

This commit is contained in:
Colin Finck 2016-11-28 10:15:16 +01:00
parent e04eb8cc04
commit e8f591143c

View File

@ -46,7 +46,7 @@
// After this condition removal update blacklist for bindings: modules/python/common.cmake
#if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(__ANDROID__) || \
(defined(__cplusplus) && __cplusplus > 201103L) || (defined(_MSC_VER) && _MSC_VER >= 1700)
(defined(__cplusplus) && __cplusplus > 199711L) || (defined(_MSC_VER) && _MSC_VER >= 1700)
#include <vector>