summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-10 20:57:08 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-10 20:57:08 -0500
commitacb69193d8b1edceb1b53725306a1533dbfcb15c (patch)
tree49031803543fb3be125cb429e7edf837b3131e7d /src/amount.cc
parent7d15b1ed5a4d393e48814c4ecbdc3be7ba90b745 (diff)
downloadfork-ledger-acb69193d8b1edceb1b53725306a1533dbfcb15c.tar.gz
fork-ledger-acb69193d8b1edceb1b53725306a1533dbfcb15c.tar.bz2
fork-ledger-acb69193d8b1edceb1b53725306a1533dbfcb15c.zip
Added a few missing explicit instantiations
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc11
1 files changed, 9 insertions, 2 deletions
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