diff options
Diffstat (limited to 'src/chain.h')
-rw-r--r-- | src/chain.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<item_handler<post_t> > post_handler_ptr; |