summaryrefslogtreecommitdiff
path: root/src/annotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/annotate.h')
-rw-r--r--src/annotate.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/annotate.h b/src/annotate.h
index c0fbcd3d..c2b2ec9d 100644
--- a/src/annotate.h
+++ b/src/annotate.h
@@ -107,21 +107,6 @@ struct annotation_t : public supports_flags<>,
assert(*this);
return true;
}
-
-#if HAVE_BOOST_SERIALIZATION
-private:
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & boost::serialization::base_object<supports_flags<> >(*this);
- ar & price;
- ar & date;
- ar & tag;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
void put_annotation(property_tree::ptree& pt, const annotation_t& details);
@@ -162,21 +147,6 @@ struct keep_details_t
return keep_price || keep_date || keep_tag;
}
bool keep_any(const commodity_t& comm) const;
-
-#if HAVE_BOOST_SERIALIZATION
-private:
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & keep_price;
- ar & keep_date;
- ar & keep_tag;
- ar & only_actuals;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
inline std::ostream& operator<<(std::ostream& out,
@@ -250,24 +220,6 @@ public:
virtual void write_annotations(std::ostream& out,
bool no_computed_annotations = false) const;
-
-#if HAVE_BOOST_SERIALIZATION
-private:
- explicit annotated_commodity_t() : ptr(NULL) {
- TRACE_CTOR(annotated_commodity_t, "");
- }
-
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & boost::serialization::base_object<commodity_t>(*this);
- ar & ptr;
- ar & details;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
inline annotated_commodity_t&