diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-02-15 08:39:58 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-02-18 21:50:34 +0100 |
commit | d5e1308d07e9a7d9da33aed6f7f617b2209cba40 (patch) | |
tree | ef98ba33a55d64aee61d29a3f25232d20dbb2d20 /src/journal.h | |
parent | f59abd4c765b08cbd5f18ec851b1d78a766a1c93 (diff) | |
download | fork-ledger-d5e1308d07e9a7d9da33aed6f7f617b2209cba40.tar.gz fork-ledger-d5e1308d07e9a7d9da33aed6f7f617b2209cba40.tar.bz2 fork-ledger-d5e1308d07e9a7d9da33aed6f7f617b2209cba40.zip |
[ledger] Remove --cache option
and all boost serialisation related code.
Diffstat (limited to 'src/journal.h')
-rw-r--r-- | src/journal.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/journal.h b/src/journal.h index 613b2b96..324315b1 100644 --- a/src/journal.h +++ b/src/journal.h @@ -100,21 +100,6 @@ public: ~fileinfo_t() throw() { TRACE_DTOR(journal_t::fileinfo_t); } - -#if HAVE_BOOST_SERIALIZATION - private: - /** Serialization. */ - - friend class boost::serialization::access; - - template<class Archive> - void serialize(Archive& ar, const unsigned int /* version */) { - ar & filename; - ar & size; - ar & modtime; - ar & from_stream; - } -#endif // HAVE_BOOST_SERIALIZATION }; account_t * master; @@ -215,26 +200,6 @@ public: private: std::size_t read_textual(parse_context_stack_t& context); - -#if HAVE_BOOST_SERIALIZATION -private: - /** Serialization. */ - - friend class boost::serialization::access; - - template<class Archive> - void serialize(Archive& ar, const unsigned int /* version */) { - ar & master; - ar & bucket; - ar & xacts; - ar & auto_xacts; - ar & period_xacts; - ar & sources; - ar & payee_mappings; - ar & account_mappings; - ar & checksum_map; - } -#endif // HAVE_BOOST_SERIALIZATION }; } // namespace ledger |