Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-pinocchio
Commits
85e10096
Commit
85e10096
authored
Dec 09, 2020
by
Joseph Mirabel
Browse files
[Serialization] Fix skipping of device.
parent
884f61b4
Pipeline
#12637
failed with stage
in 2 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/device.cc
View file @
85e10096
...
...
@@ -554,7 +554,7 @@ namespace hpp {
archive_device_wrapper
*
adw
=
dynamic_cast
<
archive_device_wrapper
*>
(
&
ar
);
ar
&
BOOST_SERIALIZATION_NVP
(
name_
);
bool
written
=
(
adw
!
=
NULL
);
bool
written
=
(
adw
=
=
NULL
);
ar
&
BOOST_SERIALIZATION_NVP
(
written
);
if
(
written
)
{
// AbstractDevice
...
...
src/humanoid-robot.cc
View file @
85e10096
...
...
@@ -196,7 +196,7 @@ namespace hpp {
(
void
)
version
;
ar
&
boost
::
serialization
::
make_nvp
(
"base"
,
boost
::
serialization
::
base_object
<
Device
>
(
*
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
(
weakPtr_
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment