diff options
Diffstat (limited to 'cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp')
-rw-r--r-- | cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp b/cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp index c61ce352a1..8b79a91ac1 100644 --- a/cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp +++ b/cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp @@ -42,7 +42,7 @@ MessageDeque::size() } bool -MessageDeque::push(const QueuedMessage& added, QueuedMessage& /*removed*/) +MessageDeque::push(boost::shared_ptr<QueuedMessage>& added) { qpid::sys::ScopedLock<qpid::sys::Mutex> l(m_msgMutex); m_messages.push_back(added); @@ -50,7 +50,7 @@ MessageDeque::push(const QueuedMessage& added, QueuedMessage& /*removed*/) } bool -MessageDeque::consume(QueuedMessage& msg) +MessageDeque::consume(boost::shared_ptr<QueuedMessage>& msg) { qpid::sys::ScopedLock<qpid::sys::Mutex> l(m_msgMutex); if (!m_messages.empty()) { |