summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++);
}
}