Close unmatched endif

release/4.3a0
Steven Lovegrove 2024-02-29 15:12:57 -08:00
parent 01490055ff
commit 5f931c4523
1 changed files with 4 additions and 3 deletions

View File

@ -8,12 +8,12 @@
* Functionality to serialize std::optional<T> to boost::archive
* Inspired from this PR: https://github.com/boostorg/serialization/pull/163
* ---------------------------------------------------------------------------- */
#pragma once
// Defined only if boost serialization is enabled
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
// Only for old boost
#if BOOST_VERSION < 108000
#pragma once
#include <optional>
#include <boost/config.hpp>
@ -107,5 +107,6 @@ void serialize(Archive& ar, std::optional<T>& t, const unsigned int version) {
} // namespace serialization
} // namespace boost
#endif
#endif
#endif // BOOST_VERSION < 108400
#endif // BOOST_VERSION < 108000
#endif // GTSAM_ENABLE_BOOST_SERIALIZATION