summaryrefslogtreecommitdiff
path: root/option.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-02-23 22:33:43 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:25 -0400
commita2b7e865088e557e8c3049eee468ed1172c710af (patch)
tree1189b6d87a012b11c69e464b8b4ce4572d9144d1 /option.h
parent07641700477812e8779a3cb165d2a81583ec7bed (diff)
downloadfork-ledger-a2b7e865088e557e8c3049eee468ed1172c710af.tar.gz
fork-ledger-a2b7e865088e557e8c3049eee468ed1172c710af.tar.bz2
fork-ledger-a2b7e865088e557e8c3049eee468ed1172c710af.zip
Fixed some compiler complaints.
Diffstat (limited to 'option.h')
-rw-r--r--option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/option.h b/option.h
index 2e4d7599..6de6ac91 100644
--- a/option.h
+++ b/option.h
@@ -8,6 +8,7 @@
struct option_handler {
bool handled;
option_handler() : handled(false) {}
+ virtual ~option_handler() {}
virtual void operator()(const char * arg = NULL) = 0;
};