From 2e987bf2b0c3f9318b28c79186a35f338c90ee6c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 6 Nov 2008 13:30:27 +0000 Subject: QPID-1417: ensure there are no dangling pointers in a connections output tasks git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711855 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/AggregateOutput.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/sys/AggregateOutput.h') diff --git a/cpp/src/qpid/sys/AggregateOutput.h b/cpp/src/qpid/sys/AggregateOutput.h index 0b08cd6f5f..9655e28c6a 100644 --- a/cpp/src/qpid/sys/AggregateOutput.h +++ b/cpp/src/qpid/sys/AggregateOutput.h @@ -48,6 +48,7 @@ namespace sys { bool hasOutput(); void addOutputTask(OutputTask* t); void removeOutputTask(OutputTask* t); + void removeAll(); /** Apply f to each OutputTask* in the tasks list */ template void eachOutput(F f) { -- cgit v1.2.1