Skip to content

Commit 1da56bb

Browse files
committed
Add missing typename
Signed-off-by: JackAKirk <[email protected]>
1 parent 8e031bf commit 1da56bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/sycl/ext/oneapi/device_global/device_global.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class
273273
__SYCL_DEVICE_GLOBAL_PROP_META_INFO(Props)::value...)]]
274274
#endif
275275
device_global<T, detail::properties_t<Props...>,
276-
std::enable_if_t<detail::properties_t<
276+
typename std::enable_if_t<detail::properties_t<
277277
Props...>::template has_property<device_constant_key>()>>
278278
: public detail::device_global_base<T, detail::properties_t<Props...>> {
279279

@@ -308,7 +308,7 @@ class
308308
#endif
309309
device_global<
310310
T, detail::properties_t<Props...>,
311-
std::enable_if_t<!(detail::properties_t<Props...>::
311+
typename std::enable_if_t<!(detail::properties_t<Props...>::
312312
template has_property<device_constant_key>())>>
313313
: public detail::device_global_base<T, detail::properties_t<Props...>> {
314314

0 commit comments

Comments
 (0)