summaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h5
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;