diff --git a/toonz/sources/include/tcg/alignment.h b/toonz/sources/include/tcg/alignment.h index 235c594..8941f02 100644 --- a/toonz/sources/include/tcg/alignment.h +++ b/toonz/sources/include/tcg/alignment.h @@ -79,14 +79,14 @@ private: template union aligned_buffer { - typedef aligner_type) - sizeof(T)> aligner_type; + typedef aligner_type) - sizeof(T)> aligner_type_t; - aligner_type m_aligner; + aligner_type_t m_aligner; char m_buf[sizeof(T)]; private: TCG_STATIC_ASSERT(sizeof(_Aligner) - sizeof(T) == - sizeof(_Aligner) - sizeof(aligner_type)); + sizeof(_Aligner) - sizeof(aligner_type_t)); }; //************************************************************************** @@ -97,7 +97,7 @@ template struct alignment_traits { static const int alignment = sizeof(_Aligner) - sizeof(T); - typedef aligner_type aligner_type; + typedef aligner_type aligner_type_traits; typedef aligned_buffer buffer_type; };