eliminate build warnings
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 29 Sep 2020 21:32:16 +0000 (21:32 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Tue, 29 Sep 2020 21:32:16 +0000 (21:32 +0000)
modules/core/include/opencv2/core/ocl.hpp

index f5d55198d7403d1f61ce6542aa73ff4fa5a42ecf..33158326546fb98100c8f286c9b39f632d2e667d 100644 (file)
@@ -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;