From 8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 9 May 2007 10:02:56 +0000 Subject: The unit tests for amount.cc now cover every part of the code except for two: those concerning annotated commodities (which will be covered in the t_commodity.cc tests) and reading of optimized amounts in the binary journal reader. --- src/TODO | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/TODO') diff --git a/src/TODO b/src/TODO index 5ad232dd..3ea808d5 100644 --- a/src/TODO +++ b/src/TODO @@ -1,3 +1,8 @@ - Add tracing code for functions that records call count and total time spent, as well as average time per call. This would implement selective profiling. + +- Make sure that if any constructors cause memory to be allocated, + that the memory is held by an auto_ptr until the constructor is + done; otherwise, an exception raised from within the constructor + will not call the destructor to free the memory. -- cgit v1.2.3