File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
sycl/include/CL/sycl/ONEAPI Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -193,19 +193,18 @@ class accessor_property_list : protected sycl::detail::PropertyListBase {
193
193
194
194
#if __cplusplus >= 201703L
195
195
template <typename T>
196
- constexpr
197
- typename detail::enable_if_t <is_compile_time_property<T>::value, bool >
198
- has_property () {
196
+ constexpr std::enable_if_t <is_compile_time_property<T>::value, bool >
197
+ has_property () const {
199
198
return ContainsPropertyInstance<PropertyContainer<PropsT...>,
200
199
T::template instance>::value;
201
200
}
202
201
203
202
template <typename T,
204
- typename = typename detail ::enable_if_t <
203
+ typename = std ::enable_if_t <
205
204
is_compile_time_property<T>::value &&
206
205
ContainsPropertyInstance<PropertyContainer<PropsT...>,
207
206
T::template instance>::value>>
208
- constexpr auto get_property () {
207
+ constexpr auto get_property () const {
209
208
return typename GetCompileTimePropertyHelper<PropertyContainer<PropsT...>,
210
209
T::template instance>::type{};
211
210
}
You can’t perform that action at this time.
0 commit comments