Added derived kernel objects

This commit is contained in:
Hamish Milne
2019-08-11 15:19:45 +01:00
committed by zhupengfei
parent f79c9668a3
commit 5035e68dad
5 changed files with 29 additions and 4 deletions

View File

@@ -12,3 +12,8 @@ template void A::serialize<oarchive>( \
oarchive & ar, \
const unsigned int file_version \
);
#define SERIALIZE_EXPORT_IMPL(A) \
BOOST_SERIALIZATION_REGISTER_ARCHIVE(iarchive) \
BOOST_SERIALIZATION_REGISTER_ARCHIVE(oarchive) \
BOOST_CLASS_EXPORT_IMPLEMENT(A)