summaryrefslogtreecommitdiff
path: root/binary.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-25 02:15:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-25 02:15:30 -0400
commit2f8f640010ebf06953beb80bd1bb5af0d6396fc2 (patch)
treed818ca83e86e47b223cc584ffaad4c83c827aca5 /binary.cc
parent5b402a26cb7a555f475f79b76a9872c3b2391c85 (diff)
downloadfork-ledger-2f8f640010ebf06953beb80bd1bb5af0d6396fc2.tar.gz
fork-ledger-2f8f640010ebf06953beb80bd1bb5af0d6396fc2.tar.bz2
fork-ledger-2f8f640010ebf06953beb80bd1bb5af0d6396fc2.zip
minor simplification
Diffstat (limited to 'binary.cc')
-rw-r--r--binary.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/binary.cc b/binary.cc
index a9d48605..5f5bc1aa 100644
--- a/binary.cc
+++ b/binary.cc
@@ -157,8 +157,7 @@ inline void read_binary_entry(std::istream& in, entry_t * entry,
i < count;
i++) {
read_binary_transaction(in, xact_pool, string_pool);
- xact_pool->entry = entry;
- entry->transactions.push_back(xact_pool++);
+ entry->add_transaction(xact_pool++);
}
}