Skip to content

Commit

Permalink
remove macro block for boost version 108000
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Mar 3, 2024
1 parent 5f931c4 commit 4947a10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gtsam/base/std_optional_serialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

// Defined only if boost serialization is enabled
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
// Only for old boost
#if BOOST_VERSION < 108000
#include <optional>
#include <boost/config.hpp>

Expand Down Expand Up @@ -108,5 +106,4 @@ void serialize(Archive& ar, std::optional<T>& t, const unsigned int version) {
} // namespace serialization
} // namespace boost
#endif // BOOST_VERSION < 108400
#endif // BOOST_VERSION < 108000
#endif // GTSAM_ENABLE_BOOST_SERIALIZATION

0 comments on commit 4947a10

Please sign in to comment.