diff --git a/test/unordered/serialization_tests.cpp b/test/unordered/serialization_tests.cpp index 108f5cee..82752186 100644 --- a/test/unordered/serialization_tests.cpp +++ b/test/unordered/serialization_tests.cpp @@ -111,39 +111,11 @@ namespace { using test::default_generator; -#if (defined(BOOST_GCC) && BOOST_GCC_VERSION >= 80100) ||\ - (defined(BOOST_CLANG) && BOOST_CLANG_VERSION >= 30700) -#define BOOST_UNORDERED_TEST_NO_SANITIZE_UNDEFINED \ -__attribute__((no_sanitize("undefined"))) -#else -#define BOOST_UNORDERED_TEST_NO_SANITIZE_UNDEFINED -#endif - - template - struct unsanitized_ctor_dtor: Class - { - template - BOOST_UNORDERED_TEST_NO_SANITIZE_UNDEFINED - unsanitized_ctor_dtor(const Arg& x): Class(x) {} - - template - BOOST_UNORDERED_TEST_NO_SANITIZE_UNDEFINED - unsanitized_ctor_dtor(Arg& x): Class(x) {} - - BOOST_UNORDERED_TEST_NO_SANITIZE_UNDEFINED - ~unsanitized_ctor_dtor() - { - } - }; - -#undef BOOST_UNORDERED_TEST_NO_SANITIZE_UNDEFINED - std::pair< boost::archive::text_oarchive, boost::archive::text_iarchive>* text_archive; std::pair< - unsanitized_ctor_dtor, - boost::archive::xml_iarchive>* + boost::archive::xml_oarchive, boost::archive::xml_iarchive>* xml_archive; #ifdef BOOST_UNORDERED_FOA_TESTS