From fc3fca4264476c72a0ebdeea4b78612b2bdadc59 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 16 Aug 2023 16:53:39 +0200 Subject: [PATCH] reverted prior (didn't work) --- test/unordered/serialization_tests.cpp | 30 +------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) 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