From a32906b8e65baec893449205ab04e3817af69248 Mon Sep 17 00:00:00 2001 From: Robert Ramey Date: Sat, 23 Mar 2024 16:08:17 -0700 Subject: [PATCH] changes to serialization of variants to support boost/variant, boost/variant2 and std::variant --- include/boost/serialization/variant.hpp | 4 +--- include/boost/serialization/variant2.hpp | 2 +- performance/profile.sh | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/include/boost/serialization/variant.hpp b/include/boost/serialization/variant.hpp index 5506a13e9..692276646 100644 --- a/include/boost/serialization/variant.hpp +++ b/include/boost/serialization/variant.hpp @@ -44,13 +44,11 @@ // Boost Variant2 supports all C++ versions back to C++11 #if BOOST_CXX_VERSION >= 201103L #include -#include #endif -// Boost Variant2 supports all C++ versions back to C++11 +// std::variant supports all C++ versions back to C++11 #ifndef BOOST_NO_CXX17_HDR_VARIANT #include -//#include #endif #include diff --git a/include/boost/serialization/variant2.hpp b/include/boost/serialization/variant2.hpp index 32deffd6a..7f8fcbde3 100644 --- a/include/boost/serialization/variant2.hpp +++ b/include/boost/serialization/variant2.hpp @@ -17,7 +17,7 @@ // // See http://www.boost.org for updates, documentation, and revision history. // -// Widely inspired form boost::variant serialization +// Widely inspired from boost::variant serialization // #include diff --git a/performance/profile.sh b/performance/profile.sh index 21d04a25e..703d6883e 100755 --- a/performance/profile.sh +++ b/performance/profile.sh @@ -15,8 +15,8 @@ then echo " threading=single,multi" echo " -sBOOST_ARCHIVE_LIST=" else - bjam --dump-tests variant=profile preserve-test-targets=on $@ >bjam.log 2>&1 - process_jam_log --v2 b2.log 2>&1 + process_jam_log --v2