diff options
| author | Gordon Sim <gsim@apache.org> | 2014-05-23 16:10:27 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-05-23 16:10:27 +0000 |
| commit | 30809559cc5b352515b75a961d0f10fdead81e2c (patch) | |
| tree | afdfb8353a818aa706caadd65c7fec8624fb907e /qpid/cpp/src/tests/QueueTest.cpp | |
| parent | bce8c55ee819e45332f74dab19c40f13d97c2877 (diff) | |
| download | qpid-python-30809559cc5b352515b75a961d0f10fdead81e2c.tar.gz | |
QPID-5783: Share immutable state between copies of a message. Avoid using memory for annotations unless actually required.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/QueueTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/QueueTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/QueueTest.cpp b/qpid/cpp/src/tests/QueueTest.cpp index c44483f8dd..99c6880b26 100644 --- a/qpid/cpp/src/tests/QueueTest.cpp +++ b/qpid/cpp/src/tests/QueueTest.cpp @@ -188,7 +188,6 @@ void addMessagesToQueue(uint count, Queue& queue, uint oddTtl = 200, uint evenTt { for (uint i = 0; i < count; i++) { Message m = MessageUtils::createMessage("exchange", "key", i % 2 ? oddTtl : evenTtl); - m.computeExpiration(new broker::ExpiryPolicy); queue.deliver(m); } } |
