summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-10 04:38:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-10 04:38:38 -0400
commit6261da4660a6602345c19d5a948124991bda86dc (patch)
treea3913dfa8dd403f8c32c27734b7a1cc73107afaf /walk.h
parent359b3ba3266d440a99fc506212a2a03bd5be4de7 (diff)
downloadfork-ledger-6261da4660a6602345c19d5a948124991bda86dc.tar.gz
fork-ledger-6261da4660a6602345c19d5a948124991bda86dc.tar.bz2
fork-ledger-6261da4660a6602345c19d5a948124991bda86dc.zip
slight changed semantics of item_handler<T>, to play better with Boost.Python
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/walk.h b/walk.h
index d9946ed9..102ed10c 100644
--- a/walk.h
+++ b/walk.h
@@ -25,8 +25,6 @@ struct item_handler {
virtual ~item_handler() {
DEBUG_PRINT("ledger.memory.dtors", "dtor item_handler<T>");
- if (handler)
- delete handler;
}
virtual void flush() {
if (handler)