From: Alexander Alekhin Date: Thu, 18 Nov 2021 16:02:59 +0000 (+0000) Subject: core: avoid using of 'check' identifier X-Git-Tag: accepted/tizen/unified/20230127.161057~1^2~518^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d228c5459d432a96443250f733c44483f0fc2650;p=platform%2Fupstream%2Fopencv.git core: avoid using of 'check' identifier --- diff --git a/modules/core/include/opencv2/core/cvstd_wrapper.hpp b/modules/core/include/opencv2/core/cvstd_wrapper.hpp index e2c2ea5..25e0041 100644 --- a/modules/core/include/opencv2/core/cvstd_wrapper.hpp +++ b/modules/core/include/opencv2/core/cvstd_wrapper.hpp @@ -42,11 +42,11 @@ struct has_parenthesis_operator { private: template - static CV_CONSTEXPR std::true_type check(typename std::is_same().operator()(std::declval()...))>::type, Ret>::type*); + static CV_CONSTEXPR std::true_type has_parenthesis_operator_check(typename std::is_same().operator()(std::declval()...))>::type, Ret>::type*); - template static CV_CONSTEXPR std::false_type check(...); + template static CV_CONSTEXPR std::false_type has_parenthesis_operator_check(...); - typedef decltype(check(0)) type; + typedef decltype(has_parenthesis_operator_check(0)) type; public: #if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1900/*MSVS 2015*/)