From ef63c6265000ab89d5657e1d2e020e7c7de33d7e Mon Sep 17 00:00:00 2001
From: greatpanc <changpan_yin@163.com>
Date: Tue, 23 Nov 2021 15:34:59 +0800
Subject: [PATCH] add missing const to context properties

---
 include/CL/cl2.hpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git OpenCL-CLHPP-2.0.12/include/CL/cl2.hpp OpenCL-CLHPP-2.0.12/include/CL/cl2.hpp
index ced4b03..24da723 100644
--- OpenCL-CLHPP-2.0.12/include/CL/cl2.hpp
+++ OpenCL-CLHPP-2.0.12/include/CL/cl2.hpp
@@ -2806,7 +2806,7 @@ public:
      */
     Context(
         const vector<Device>& devices,
-        cl_context_properties* properties = NULL,
+        const cl_context_properties* properties = NULL,
         void (CL_CALLBACK * notifyFptr)(
             const char *,
             const void *,
@@ -2837,7 +2837,7 @@ public:
 
     Context(
         const Device& device,
-        cl_context_properties* properties = NULL,
+        const cl_context_properties* properties = NULL,
         void (CL_CALLBACK * notifyFptr)(
             const char *,
             const void *,
@@ -2867,7 +2867,7 @@ public:
      */
     Context(
         cl_device_type type,
-        cl_context_properties* properties = NULL,
+        const cl_context_properties* properties = NULL,
         void (CL_CALLBACK * notifyFptr)(
             const char *,
             const void *,
-- 
2.25.1

