diff --git a/modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp b/modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp index ef67930909..741fbe18f0 100644 --- a/modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp +++ b/modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp @@ -443,7 +443,7 @@ struct OCVStCallHelper, std::tuple> : template class GCPUKernelImpl: public cv::detail::KernelTag { - using CallHelper = detail::OCVCallHelper; + using CallHelper = cv::detail::OCVCallHelper; public: using API = K; @@ -497,7 +497,7 @@ private: template gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(Callable& c) { - using P = detail::OCVCallHelper; + using P = cv::detail::OCVCallHelper; return GOCVFunctor{ K::id() , &K::getOutMeta , std::bind(&P::callFunctor, std::placeholders::_1, std::ref(c)) @@ -507,7 +507,7 @@ gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(Callable& c) template gapi::cpu::GOCVFunctor gapi::cpu::ocv_kernel(const Callable& c) { - using P = detail::OCVCallHelper; + using P = cv::detail::OCVCallHelper; return GOCVFunctor{ K::id() , &K::getOutMeta , std::bind(&P::callFunctor, std::placeholders::_1, c)