From 8cbd20b380438121c46709552dbc847cc378a1f9 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 29 Sep 2020 21:32:16 +0000 Subject: [PATCH] eliminate build warnings --- modules/core/include/opencv2/core/ocl.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/core/include/opencv2/core/ocl.hpp b/modules/core/include/opencv2/core/ocl.hpp index f5d55198d7..3315832654 100644 --- a/modules/core/include/opencv2/core/ocl.hpp +++ b/modules/core/include/opencv2/core/ocl.hpp @@ -735,11 +735,11 @@ public: OpenCLExecutionContext() = default; ~OpenCLExecutionContext() = default; - OpenCLExecutionContext(const OpenCLExecutionContext& other) = default; - OpenCLExecutionContext(OpenCLExecutionContext&& other) = default; + OpenCLExecutionContext(const OpenCLExecutionContext&) = default; + OpenCLExecutionContext(OpenCLExecutionContext&&) = default; - OpenCLExecutionContext& operator=(const OpenCLExecutionContext& other) = default; - OpenCLExecutionContext& operator=(OpenCLExecutionContext&& other) = default; + OpenCLExecutionContext& operator=(const OpenCLExecutionContext&) = default; + OpenCLExecutionContext& operator=(OpenCLExecutionContext&&) = default; /** Get associated ocl::Context */ Context& getContext() const;