diff options
Diffstat (limited to 'cpp/src/qpid/broker/Queue.h')
-rw-r--r-- | cpp/src/qpid/broker/Queue.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h index bca01f7ef5..21cb5ad42d 100644 --- a/cpp/src/qpid/broker/Queue.h +++ b/cpp/src/qpid/broker/Queue.h @@ -230,12 +230,8 @@ RateTracker dequeueTracker; */ QueuedMessage get(); - /** Get the message at position pos - *@param msg out parameter, assigned to the message found. - *@param pos position to search for. - *@return True if there is a message at pos, false otherwise. - */ - bool find(QueuedMessage& msg, framing::SequenceNumber pos) const; + /** Get the message at position pos */ + QueuedMessage find(framing::SequenceNumber pos) const; const QueuePolicy* getPolicy(); |