fix type traits aligned storage

master
Daniel Kolesa 2015-06-29 23:18:08 +01:00
parent d8d8ea7151
commit f8c99b9f50
1 changed files with 2 additions and 2 deletions

View File

@ -1116,14 +1116,14 @@ using CommonType = typename octa::detail::CommonTypeBase<T, U, V...>::Type;
namespace detail {
template<octa::Size N> struct AlignedTest {
union type {
union Type {
octa::uchar data[N];
octa::MaxAlign align;
};
};
template<octa::Size N, octa::Size A> struct AlignedStorageBase {
struct type {
struct Type {
alignas(A) octa::uchar data[N];
};
};