Two members of journal_t weren't being serialized

This commit is contained in:
John Wiegley 2010-06-02 02:08:44 -04:00
parent cda19829bd
commit e275caa5fb

View file

@ -115,9 +115,9 @@ public:
auto_xacts_list auto_xacts; auto_xacts_list auto_xacts;
period_xacts_list period_xacts; period_xacts_list period_xacts;
std::list<fileinfo_t> sources; std::list<fileinfo_t> sources;
bool was_loaded;
payee_mappings_t payee_mappings; payee_mappings_t payee_mappings;
account_mappings_t account_mappings; account_mappings_t account_mappings;
bool was_loaded;
journal_t(); journal_t();
journal_t(const path& pathname); journal_t(const path& pathname);
@ -196,6 +196,8 @@ private:
ar & auto_xacts; ar & auto_xacts;
ar & period_xacts; ar & period_xacts;
ar & sources; ar & sources;
ar & payee_mappings;
ar & account_mappings;
} }
#endif // HAVE_BOOST_SERIALIZATION #endif // HAVE_BOOST_SERIALIZATION
}; };