summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/QueueTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-01-18 22:07:58 +0000
committerAlan Conway <aconway@apache.org>2012-01-18 22:07:58 +0000
commit0cffe7263cdf8ab36ea3b87d2820a0a26bdae458 (patch)
tree8c8a0b1a975781b405a857232c4c73233afff0ac /qpid/cpp/src/tests/QueueTest.cpp
parentca14135a2d89966b2f5f868f04ef1b4b3810e5e0 (diff)
downloadqpid-python-0cffe7263cdf8ab36ea3b87d2820a0a26bdae458.tar.gz
QPID-3603: Replace public broker::Consumer::position variable with get/set function pair.
Public member variables are not good sytle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1233080 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/QueueTest.cpp')
-rw-r--r--qpid/cpp/src/tests/QueueTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/QueueTest.cpp b/qpid/cpp/src/tests/QueueTest.cpp
index aaa2721021..ccdb7810e1 100644
--- a/qpid/cpp/src/tests/QueueTest.cpp
+++ b/qpid/cpp/src/tests/QueueTest.cpp
@@ -300,7 +300,7 @@ QPID_AUTO_TEST_CASE(testSeek){
TestConsumer::shared_ptr consumer(new TestConsumer("test", false));
SequenceNumber seq(2);
- consumer->position = seq;
+ consumer->setPosition(seq);
QueuedMessage qm;
queue->dispatch(consumer);