guard serialization.h

release/4.3a0
ShuangLiu1992 2023-10-07 03:59:35 +00:00
parent 7d903264a9
commit 4750d850ce
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@
* @author Richard Roberts * @author Richard Roberts
* @date Feb 7, 2012 * @date Feb 7, 2012
*/ */
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
#pragma once #pragma once
#include <Eigen/Core> #include <Eigen/Core>
@ -270,3 +270,4 @@ void deserializeBinary(const std::string& serialized, T& output,
///@} ///@}
} // namespace gtsam } // namespace gtsam
#endif