From acb69193d8b1edceb1b53725306a1533dbfcb15c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 10 Nov 2009 20:57:08 -0500 Subject: Added a few missing explicit instantiations --- src/amount.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/amount.cc') diff --git a/src/amount.cc b/src/amount.cc index 77a5f8e3..28fa9eaf 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -1238,17 +1238,24 @@ void serialize(Archive& ar, long unsigned int& integer, BOOST_CLASS_EXPORT(ledger::annotated_commodity_t) +template void boost::serialization::serialize(boost::archive::binary_iarchive&, + MP_INT&, const unsigned int); template void boost::serialization::serialize(boost::archive::binary_oarchive&, MP_INT&, const unsigned int); template void boost::serialization::serialize(boost::archive::binary_iarchive&, MP_RAT&, const unsigned int); +template void boost::serialization::serialize(boost::archive::binary_oarchive&, + MP_RAT&, const unsigned int); template void boost::serialization::serialize(boost::archive::binary_iarchive&, long unsigned int&, const unsigned int); +template void boost::serialization::serialize(boost::archive::binary_oarchive&, + long unsigned int&, + const unsigned int); -template void ledger::amount_t::serialize(boost::archive::binary_oarchive&, - const unsigned int); template void ledger::amount_t::serialize(boost::archive::binary_iarchive&, const unsigned int); +template void ledger::amount_t::serialize(boost::archive::binary_oarchive&, + const unsigned int); #endif // HAVE_BOOST_SERIALIZATION -- cgit v1.2.3