summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xact.h b/src/xact.h
index df82258d..ce00242e 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -168,6 +168,21 @@ public:
bool _overwrite_existing)
: tag_data(_tag_data), overwrite_existing(_overwrite_existing),
apply_to_post(NULL) {}
+
+#if defined(HAVE_BOOST_SERIALIZATION)
+private:
+ /** Serialization. */
+ deferred_tag_data_t() : apply_to_post(NULL) {}
+
+ friend class boost::serialization::access;
+
+ template<class Archive>
+ void serialize(Archive& ar, const unsigned int /* version */) {
+ ar & tag_data;
+ ar & overwrite_existing;
+ ar & apply_to_post;
+ }
+#endif // HAVE_BOOST_SERIALIZATION
};
typedef std::list<deferred_tag_data_t> deferred_notes_list;