From 8f17d01f5e48ae5097f4cb38d481b00577329b8c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 30 May 2010 02:20:34 -0600 Subject: Added new required item_handler_t::clear() method --- src/chain.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/chain.h') diff --git a/src/chain.h b/src/chain.h index 94d54317..fbde9f0a 100644 --- a/src/chain.h +++ b/src/chain.h @@ -75,6 +75,11 @@ public: (*handler.get())(item); } } + + virtual void clear() { + if (handler) + handler->clear(); + } }; typedef shared_ptr > post_handler_ptr; -- cgit v1.2.3