diff options
Diffstat (limited to 'qpid/cpp/src/qpid/sys/AggregateOutput.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/sys/AggregateOutput.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/sys/AggregateOutput.cpp b/qpid/cpp/src/qpid/sys/AggregateOutput.cpp index 57cc0c5a33..2fad28c381 100644 --- a/qpid/cpp/src/qpid/sys/AggregateOutput.cpp +++ b/qpid/cpp/src/qpid/sys/AggregateOutput.cpp @@ -31,6 +31,12 @@ void AggregateOutput::activateOutput() control.activateOutput(); } +bool AggregateOutput::hasOutput() { + for (TaskList::const_iterator i = tasks.begin(); i != tasks.end(); ++i) + if ((*i)->hasOutput()) return true; + return false; +} + bool AggregateOutput::doOutput() { bool result = false; |