summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 21:15:46 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 21:15:46 -0500
commit6a78c24463c9b582a819c2dced770b8303cd58bf (patch)
treef72bf652b5337f183517a8ce844d3e8bddf144b1
parent2ae2c47a38fb9ba93da4c58245b662ed4a7951b2 (diff)
downloadfork-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.cc2
-rw-r--r--src/item.h2
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
};