diff --git a/tests/test_class.cpp b/tests/test_class.cpp index bdd6836f6..499d0cc51 100644 --- a/tests/test_class.cpp +++ b/tests/test_class.cpp @@ -12,6 +12,10 @@ #include "local_bindings.h" #include +#if defined(_MSC_VER) +# pragma warning(disable: 4324) // warning C4324: structure was padded due to alignment specifier +#endif + // test_brace_initialization struct NoBraceInitialization { NoBraceInitialization(std::vector v) : vec{std::move(v)} {}