correctly fix name collisions due to newly merged Boost PR

release/4.3a0
Varun Agrawal 2024-02-26 17:04:15 -05:00
parent 2379cfab9a
commit d947ffba67
1 changed files with 8 additions and 2 deletions

View File

@ -55,8 +55,14 @@ namespace std { template<> struct is_trivially_move_constructible<boost::seriali
#endif
#endif
#if __cplusplus < 201103L
/*
* PR https://github.com/boostorg/serialization/pull/163 was merged
* on September 3rd 2023,
* and so the below code is now a part of Boost 1.84.
* We include it for posterity, hence the check for BOOST_VERSION being less
* than 1.84.
*/
#if BOOST_VERSION < 108400
// function specializations must be defined in the appropriate
// namespace - boost::serialization
namespace boost {