From 942943323ea1cef85b08935c98fb84b378519d3e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 26 Aug 2004 14:31:50 -0400 Subject: don't placement new() amount_t in binary.cc when it isn't necessary --- binary.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'binary.cc') diff --git a/binary.cc b/binary.cc index 0d71a11b..3d2f8edc 100644 --- a/binary.cc +++ b/binary.cc @@ -128,7 +128,6 @@ inline void read_binary_transaction(std::istream& in, transaction_t * xact, xact->account = accounts[read_binary_number(in) - 1]; xact->account->add_transaction(xact); - new ((amount_t *) &xact->amount) amount_t; read_binary_amount(in, xact->amount); if (read_binary_number(in) == 1) { -- cgit v1.2.3