summaryrefslogtreecommitdiff
path: root/src/TODO
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-09 10:02:56 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:42 -0400
commit8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58 (patch)
treef610a289a997487d89f6b24dc48f5e1ffce35628 /src/TODO
parent623e6e024cf43fc855c889314b8da8802c2f0449 (diff)
downloadfork-ledger-8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58.tar.gz
fork-ledger-8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58.tar.bz2
fork-ledger-8e20c378d6ee6eb36f8c6866f8c9ec52f8600c58.zip
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.
Diffstat (limited to 'src/TODO')
-rw-r--r--src/TODO5
1 files changed, 5 insertions, 0 deletions
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.