summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/AggregateOutput.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-14 18:55:46 +0000
committerAlan Conway <aconway@apache.org>2010-01-14 18:55:46 +0000
commit8455ba0b116208f47ce238b384d4af274fa0edb6 (patch)
tree93afbe62eb9e823b04744ff9979f095f16eb3c4a /cpp/src/qpid/sys/AggregateOutput.cpp
parentf0afda45f86254a027317f4ef540138ddeaf7b87 (diff)
downloadqpid-python-8455ba0b116208f47ce238b384d4af274fa0edb6.tar.gz
Removed dead code: OutputTask::hasOutput and Queue::checkForMessages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/AggregateOutput.cpp')
-rw-r--r--cpp/src/qpid/sys/AggregateOutput.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/qpid/sys/AggregateOutput.cpp b/cpp/src/qpid/sys/AggregateOutput.cpp
index 709d3bc640..4f0a4fa5af 100644
--- a/cpp/src/qpid/sys/AggregateOutput.cpp
+++ b/cpp/src/qpid/sys/AggregateOutput.cpp
@@ -34,11 +34,6 @@ void AggregateOutput::activateOutput() { control.activateOutput(); }
void AggregateOutput::giveReadCredit(int32_t credit) { control.giveReadCredit(credit); }
-bool AggregateOutput::hasOutput() {
- Mutex::ScopedLock l(lock);
- return !tasks.empty();
-}
-
// Clear the busy flag and notify waiting threads in destructor.
struct ScopedBusy {
bool& flag;