summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/AggregateOutput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/AggregateOutput.cpp')
-rw-r--r--cpp/src/qpid/sys/AggregateOutput.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/AggregateOutput.cpp b/cpp/src/qpid/sys/AggregateOutput.cpp
index 2fad28c381..d2c4b7185e 100644
--- a/cpp/src/qpid/sys/AggregateOutput.cpp
+++ b/cpp/src/qpid/sys/AggregateOutput.cpp
@@ -65,4 +65,9 @@ void AggregateOutput::removeOutputTask(OutputTask* t)
if (i != tasks.end()) tasks.erase(i);
}
+void AggregateOutput::removeAll()
+{
+ tasks.clear();
+}
+
}} // namespace qpid::sys