Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Further tweaked alignment hack for Option

Commit
d36fe214a67d593aaa358cfbbce64709b5f91c66
Author
Phil Nash ·
Parents
a34c053f0a06

Files · Download .tar.gz

Changes

 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 b4d40ae5..909e5cec 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
         };
     };