add missing preprocessor guard
parent
234dd0930c
commit
95098e0cad
|
@ -149,11 +149,13 @@ class BilinearAngleTranslationFactor
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
#ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
|
||||||
friend class boost::serialization::access;
|
friend class boost::serialization::access;
|
||||||
template <class ARCHIVE>
|
template <class ARCHIVE>
|
||||||
void serialize(ARCHIVE& ar, const unsigned int /*version*/) {
|
void serialize(ARCHIVE& ar, const unsigned int /*version*/) {
|
||||||
ar& boost::serialization::make_nvp(
|
ar& boost::serialization::make_nvp(
|
||||||
"Base", boost::serialization::base_object<Base>(*this));
|
"Base", boost::serialization::base_object<Base>(*this));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}; // \ BilinearAngleTranslationFactor
|
}; // \ BilinearAngleTranslationFactor
|
||||||
} // namespace gtsam
|
} // namespace gtsam
|
||||||
|
|
Loading…
Reference in New Issue