Commit 9b665b86 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Remove code for C++ < 11

parent 5ee47dbf
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment