Skip to content
Snippets Groups Projects
Commit 0f2ea63d authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Serialization] Fix skipping of device.

parent 8bba418c
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ namespace hpp {
(void) version;
ar & make_nvp("base", base_object<pinocchio::HumanoidRobot>(*this));
archive_device_wrapper* adw = dynamic_cast<archive_device_wrapper*>(&ar);
bool written = (adw != NULL);
bool written = (adw == NULL);
ar & BOOST_SERIALIZATION_NVP(written);
if (written) {
ar & BOOST_SERIALIZATION_NVP(self_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment