util/Manual: use gcc_alignas()
This commit is contained in:
parent
7b60e3916c
commit
1e073a196f
@ -54,12 +54,7 @@
|
||||
*/
|
||||
template<class T>
|
||||
class Manual {
|
||||
#if GCC_OLDER_THAN(4,8)
|
||||
/* no alignas() on gcc < 4.8: apply worst-case fallback */
|
||||
__attribute__((aligned(8)))
|
||||
#else
|
||||
alignas(T)
|
||||
#endif
|
||||
gcc_alignas(T, 8)
|
||||
char data[sizeof(T)];
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user