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
9b665b86
Commit
9b665b86
authored
Dec 08, 2020
by
Joseph Mirabel
Browse files
Remove code for C++ < 11
parent
5ee47dbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/device.cc
View file @
9b665b86
...
...
@@ -535,7 +535,6 @@ namespace hpp {
#endif
}
#if __cplusplus >= 201103L
using
boost
::
serialization
::
make_nvp
;
using
hpp
::
serialization
::
archive_device_wrapper
;
...
...
@@ -626,19 +625,6 @@ namespace hpp {
"and the archive is not of type archive_device_wrapper."
);
// else TODO if (adw->device->name() != name_) ?
}
#else
template
<
class
Archive
>
void
Device
::
save
(
Archive
&
,
const
unsigned
int
)
const
{
throw
std
::
logic_error
(
"Not implemented without C++ 11."
);
}
template
<
class
Archive
>
void
Device
::
load
(
Archive
&
,
const
unsigned
int
)
{
throw
std
::
logic_error
(
"Not implemented without C++ 11."
);
}
#endif
HPP_SERIALIZATION_SPLIT_IMPLEMENT
(
Device
);
}
// namespace pinocchio
...
...
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