fix issue with Boost collisions

release/4.3a0
Varun Agrawal 2024-02-19 19:14:59 -05:00
parent f12a24e00c
commit d19ebe0fdf
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,8 @@ namespace std { template<> struct is_trivially_move_constructible<boost::seriali
#endif
// Only for old boost
#if BOOST_VERSION < 108000
// function specializations must be defined in the appropriate
// namespace - boost::serialization
namespace boost {
@ -99,3 +101,4 @@ void serialize(Archive& ar, std::optional<T>& t, const unsigned int version) {
} // namespace serialization
} // namespace boost
#endif
#endif