summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-02-25 22:01:33 -0700
committerCraig Earls <enderw88@gmail.com>2015-02-25 22:01:33 -0700
commit1f803d629491991afb8aa9cd1d159313b2af78c7 (patch)
tree4eb6f0f90162f4808d0687a06ad1a698eb3ed035 /src/item.h
parentfe48f607be7b9da8d2c4ac1fb30078dea55b8240 (diff)
parentaf0da737fc4ef8f9ccebd3d43519610b8a8fcaa1 (diff)
downloadfork-ledger-1f803d629491991afb8aa9cd1d159313b2af78c7.tar.gz
fork-ledger-1f803d629491991afb8aa9cd1d159313b2af78c7.tar.bz2
fork-ledger-1f803d629491991afb8aa9cd1d159313b2af78c7.zip
Merge commit 'af0da737fc4ef8f9ccebd3d43519610b8a8fcaa1' into next
Conflicts: lisp/ledger-reconcile.el
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/item.h b/src/item.h
index 458cb378..ba812175 100644
--- a/src/item.h
+++ b/src/item.h
@@ -78,23 +78,6 @@ struct position_t
}
return *this;
}
-
-#if HAVE_BOOST_SERIALIZATION
-private:
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & pathname;
- ar & beg_pos;
- ar & beg_line;
- ar & end_pos;
- ar & end_line;
- ar & sequence;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
class item_t : public supports_flags<uint_least16_t>, public scope_t
@@ -226,25 +209,6 @@ public:
const string& name);
bool valid() const;
-
-#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<uint_least16_t> >(*this);
- ar & boost::serialization::base_object<scope_t>(*this);
- ar & _state;
- ar & _date;
- ar & _date_aux;
- ar & note;
- ar & pos;
- ar & metadata;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
value_t get_comment(item_t& item);