From 9f9339c5c5056770e7b26e2541882dd64f3ea5c6 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 5 Aug 2008 20:41:48 -0400 Subject: Added missing virtual specifiers on some destructors. --- src/iterators.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/iterators.h') diff --git a/src/iterators.h b/src/iterators.h index c52a6827..50cbffae 100644 --- a/src/iterators.h +++ b/src/iterators.h @@ -41,6 +41,7 @@ namespace ledger { class xacts_iterator : public noncopyable { public: + virtual ~xacts_iterator() throw() {} virtual xact_t * operator()() = 0; }; @@ -100,7 +101,7 @@ public: TRACE_CTOR(entries_iterator, "session_t&"); reset(session); } - ~entries_iterator() throw() { + virtual ~entries_iterator() throw() { TRACE_DTOR(entries_iterator); } @@ -134,6 +135,7 @@ public: class accounts_iterator : public noncopyable { public: + virtual ~accounts_iterator() throw() {} virtual account_t * operator()() = 0; }; -- cgit v1.2.3