From 2da140d5671a660ce5987941d208a4785b00ec3c Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Tue, 1 Oct 2024 12:21:46 +0200 Subject: [PATCH] core: Add other boost archive type --- include/pinocchio/serialization/eigen.hpp | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/include/pinocchio/serialization/eigen.hpp b/include/pinocchio/serialization/eigen.hpp index b8875bb7a6..ea8e2c1fea 100644 --- a/include/pinocchio/serialization/eigen.hpp +++ b/include/pinocchio/serialization/eigen.hpp @@ -88,7 +88,9 @@ namespace boost namespace archive { class binary_iarchive; - } + class xml_iarchive; + class text_iarchive; + } // namespace archive } // namespace boost namespace Eigen { @@ -102,6 +104,22 @@ namespace Eigen Flags = 0 }; }; + template<> + struct traits + { + enum + { + Flags = 0 + }; + }; + template<> + struct traits + { + enum + { + Flags = 0 + }; + }; } // namespace internal } // namespace Eigen #endif // MSVC with C++17