diff --git a/include/oneapi/dpl/pstl/utils.h b/include/oneapi/dpl/pstl/utils.h index 0811fac9ffa..aa077d2e68a 100644 --- a/include/oneapi/dpl/pstl/utils.h +++ b/include/oneapi/dpl/pstl/utils.h @@ -129,12 +129,11 @@ class __pstl_assign }; template -class __compare +struct __compare { _Comp __comp; _Proj __proj; - public: template bool operator()(_Xp&& __x, _Yp&& __y)