From a804510d81ade0594a75b5c9b8765cafcc233245 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Mon, 16 Jul 2012 13:54:11 +0000 Subject: QPID-3858: Refactor to tidy up several class design issues git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1362039 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/storePerftools/asyncPerf/MessageDeque.cpp') 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& added) { qpid::sys::ScopedLock 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& msg) { qpid::sys::ScopedLock l(m_msgMutex); if (!m_messages.empty()) { -- cgit v1.2.1