From fb91d6f21e341f12d80e95195322837cbda78cf3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Aug 2004 03:23:17 -0400 Subject: add copy-on-write semantics to amount.cc; cuts object creation by 5x --- binary.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binary.h') diff --git a/binary.h b/binary.h index 4b502df5..a1ab60c2 100644 --- a/binary.h +++ b/binary.h @@ -3,6 +3,8 @@ #include "parser.h" +#include + namespace ledger { class binary_parser_t : public parser_t @@ -16,6 +18,8 @@ class binary_parser_t : public parser_t const std::string * original_file = NULL); }; +extern std::deque bigints; + void write_binary_journal(std::ostream& out, journal_t * journal, strings_list * files = NULL); -- cgit v1.2.3