From 4750d850cef1f180c6bf143c6471d698b2f7ed16 Mon Sep 17 00:00:00 2001 From: ShuangLiu1992 Date: Sat, 7 Oct 2023 03:59:35 +0000 Subject: [PATCH] guard serialization.h --- gtsam/base/serialization.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam/base/serialization.h b/gtsam/base/serialization.h index e615afe83..12556db09 100644 --- a/gtsam/base/serialization.h +++ b/gtsam/base/serialization.h @@ -16,7 +16,7 @@ * @author Richard Roberts * @date Feb 7, 2012 */ - +#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION #pragma once #include @@ -270,3 +270,4 @@ void deserializeBinary(const std::string& serialized, T& output, ///@} } // namespace gtsam +#endif \ No newline at end of file