Skip to content

Commit 1a009d2

Browse files
author
Sergey Kanaev
committed
[SYCL] Fix review comment
Signed-off-by: Sergey Kanaev <[email protected]>
1 parent 893f17c commit 1a009d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/include/CL/sycl/detail/generic_type_traits.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,10 +558,10 @@ template <typename T> static constexpr T quiet_NaN() {
558558
}
559559

560560
// is_same_vector_size
561-
template <int FirstSize, typename... Args> struct is_same_vector_size_impl;
561+
template <int FirstSize, typename... Args> class is_same_vector_size_impl;
562562

563563
template <int FirstSize, typename T, typename... Args>
564-
struct is_same_vector_size_impl<FirstSize, T, Args...> {
564+
class is_same_vector_size_impl<FirstSize, T, Args...> {
565565
private:
566566
using CurrentT = detail::remove_pointer_t<T>;
567567
static constexpr int Size = vector_size<CurrentT>::value;
@@ -574,7 +574,7 @@ struct is_same_vector_size_impl<FirstSize, T, Args...> {
574574
};
575575

576576
template <int FirstSize>
577-
struct is_same_vector_size_impl<FirstSize> : std::true_type {};
577+
class is_same_vector_size_impl<FirstSize> : public std::true_type {};
578578

579579
template <typename T, typename... Args> class is_same_vector_size {
580580
using CurrentT = remove_pointer_t<T>;

0 commit comments

Comments
 (0)