diff --git a/sycl/include/CL/sycl/accessor2.hpp b/sycl/include/CL/sycl/accessor2.hpp index 68f5a0673bed6..99750fe35b5be 100644 --- a/sycl/include/CL/sycl/accessor2.hpp +++ b/sycl/include/CL/sycl/accessor2.hpp @@ -333,7 +333,7 @@ class accessor : public: using value_type = DataT; using reference = DataT &; - using const_reference = const reference; + using const_reference = const DataT &; template accessor(enable_if_t<((!IsPlaceH && IsHostBuf) ||