From 386733aea174bd26689eeb02f2e5a0054fbc5f04 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 9 Nov 2018 06:37:48 +0000 Subject: [PATCH] gapi: fix ARM build --- modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp b/modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp index 1321b51168..dfae71af33 100644 --- a/modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp +++ b/modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp @@ -125,7 +125,7 @@ struct tracked_cv_umat{ struct scalar_wrapper_gpu { //FIXME reuse CPU (OpenCV) plugin code - scalar_wrapper_gpu(cv::gapi::own::Scalar& s) : m_s{cv::gapi::own::to_ocv(s)}, m_org_s{s} {}; + scalar_wrapper_gpu(cv::gapi::own::Scalar& s) : m_s{cv::gapi::own::to_ocv(s)}, m_org_s(s) {}; operator cv::Scalar& () { return m_s; } void writeBack() const { m_org_s = to_own(m_s); }