File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
sycl/include/sycl/ext/oneapi/properties Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -287,17 +287,6 @@ class __SYCL_EBO properties<
287287 return get_property_impl (detail::key<property_key_t >);
288288 }
289289
290- // TODO: Do we need separate `static` overload if we decide to keep this
291- // interface?
292- template <typename property_key_t , typename default_property_t >
293- constexpr auto
294- get_property_or_default_to (default_property_t default_property) {
295- if constexpr (has_property<property_key_t >())
296- return get_property<property_key_t >();
297- else
298- return default_property;
299- }
300-
301290 // TODO: Use more effective insert sort for single-property insertion.
302291
303292 // Need to use qualified type to force CTAD instead of using *current*
You can’t perform that action at this time.
0 commit comments