Skip to content

Commit a03dcb7

Browse files
committed
Remove serialization exports of Atom class.
Atom class is not involved in any inheritance hierarchy. It does not need to be explicitly registered for serialization.
1 parent 8830822 commit a03dcb7

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/diffpy/srreal/AtomicStructureAdapter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ const Atom& AtomicStructureAdapter::operator[](int idx) const
305305
// Serialization -------------------------------------------------------------
306306

307307
DIFFPY_INSTANTIATE_SERIALIZATION(diffpy::srreal::Atom)
308-
BOOST_CLASS_EXPORT_IMPLEMENT(diffpy::srreal::Atom)
309308
DIFFPY_INSTANTIATE_SERIALIZATION(diffpy::srreal::AtomicStructureAdapter)
310309
BOOST_CLASS_EXPORT_IMPLEMENT(diffpy::srreal::AtomicStructureAdapter)
311310

src/diffpy/srreal/AtomicStructureAdapter.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ bool operator!=(
173173

174174
// Serialization -------------------------------------------------------------
175175

176-
BOOST_CLASS_EXPORT_KEY(diffpy::srreal::Atom)
177176
BOOST_CLASS_EXPORT_KEY(diffpy::srreal::AtomicStructureAdapter)
178177

179178
#endif // ATOMICSTRUCTUREADAPTER_HPP_INCLUDED

0 commit comments

Comments
 (0)