From 5387bee4bd0ba8413aeddf68468b64638084b399 Mon Sep 17 00:00:00 2001 From: MichaƂ Janiszewski Date: Jun 27 2016 06:33:20 +0000 Subject: Rename aligner_type redefinitions --- 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; };