From d36fe214a67d593aaa358cfbbce64709b5f91c66 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 25 Apr 2017 08:38:25 +0100 Subject: [PATCH] Further tweaked alignment hack for Option --- include/internal/catch_option.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/internal/catch_option.hpp b/include/internal/catch_option.hpp index b4d40ae..909e5ce 100644 --- a/include/internal/catch_option.hpp +++ b/include/internal/catch_option.hpp @@ -72,7 +72,11 @@ namespace Catch { // These are here to force alignment for the storage long double dummy1; - long long dummy2; + void (*dummy2)(); + long double dummy3; +#ifdef CATCH_CONFIG_CPP11_LONG_LONG + long long dummy4; +#endif }; };