diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-01 21:15:46 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-01 21:15:46 -0500 |
commit | 6a78c24463c9b582a819c2dced770b8303cd58bf (patch) | |
tree | f72bf652b5337f183517a8ce844d3e8bddf144b1 | |
parent | 2ae2c47a38fb9ba93da4c58245b662ed4a7951b2 (diff) | |
download | fork-ledger-6a78c24463c9b582a819c2dced770b8303cd58bf.tar.gz fork-ledger-6a78c24463c9b582a819c2dced770b8303cd58bf.tar.bz2 fork-ledger-6a78c24463c9b582a819c2dced770b8303cd58bf.zip |
Stream out item metadata last in item_t::serialize
-rw-r--r-- | src/archive.cc | 2 | ||||
-rw-r--r-- | src/item.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/archive.cc b/src/archive.cc index b3aff7d7..d54b1179 100644 --- a/src/archive.cc +++ b/src/archive.cc @@ -43,7 +43,7 @@ #include "xact.h" #define LEDGER_MAGIC 0x4c454447 -#define ARCHIVE_VERSION 0x03000002 +#define ARCHIVE_VERSION 0x03000003 //BOOST_IS_ABSTRACT(ledger::scope_t) BOOST_CLASS_EXPORT(ledger::scope_t) @@ -207,8 +207,8 @@ private: ar & _date; ar & _date_eff; ar & note; - ar & metadata; ar & pos; + ar & metadata; } #endif // HAVE_BOOST_SERIALIZATION }; |