fix for boost serialization collision

release/4.3a0
Varun Agrawal 2024-02-26 09:14:39 -05:00
parent 67cf8706d8
commit 0d7d159203
1 changed files with 2 additions and 0 deletions

View File

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