From 6a78c24463c9b582a819c2dced770b8303cd58bf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 1 Nov 2009 21:15:46 -0500 Subject: Stream out item metadata last in item_t::serialize --- src/archive.cc | 2 +- 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) diff --git a/src/item.h b/src/item.h index c9c4af26..b65d482a 100644 --- a/src/item.h +++ b/src/item.h @@ -207,8 +207,8 @@ private: ar & _date; ar & _date_eff; ar & note; - ar & metadata; ar & pos; + ar & metadata; } #endif // HAVE_BOOST_SERIALIZATION }; -- cgit v1.2.3