Skip to content

Commit a67f92a

Browse files
author
devsh
committed
alignment_of can no longer be an alias on the C++ side
1 parent a8ff88f commit a67f92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/builtin/hlsl/type_traits.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ struct size_of
635635
};
636636

637637
template<class T>
638-
using alignment_of = std::alignment_of<T>;
638+
struct alignment_of : public std::alignment_of<T> {};
639639

640640
template<class T> using remove_const = std::remove_const<T>;
641641
template<class T> using remove_volatile = std::remove_volatile<T>;

0 commit comments

Comments
 (0)