fix issue with Boost collisions
parent
f12a24e00c
commit
d19ebe0fdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue