summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
index b3c632af..f7d6986e 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -691,6 +691,16 @@ public:
bool valid() const;
+#if defined(HAVE_BOOST_SERIALIZATION)
+private:
+ /** Serialization. */
+
+ friend class boost::serialization::access;
+
+ template<class Archive>
+ void serialize(Archive & ar, const unsigned int /* version */);
+#endif // HAVE_BOOST_SERIALIZATION
+
/*@}*/
};