summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-10-16 10:21:20 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-10-16 10:21:20 +0000
commit5113fdd829e956b6836c102c13b83fb8105a7453 (patch)
tree600ada669c06d834c4509ea6c277deeaefc9effa /cpp/src/qpid/broker/Queue.cpp
parent0ae648d78f3970eb7fc96f000a5ba4f6444e4b6e (diff)
downloadqpid-python-5113fdd829e956b6836c102c13b83fb8105a7453.tar.gz
Implementation of 0-10 field tables
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
-rw-r--r--cpp/src/qpid/broker/Queue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp
index 3065041424..e4a6449e08 100644
--- a/cpp/src/qpid/broker/Queue.cpp
+++ b/cpp/src/qpid/broker/Queue.cpp
@@ -413,7 +413,7 @@ void Queue::setPersistenceId(uint64_t _persistenceId) const
void Queue::encode(framing::Buffer& buffer) const
{
buffer.putShortString(name);
- buffer.putFieldTable(settings);
+ buffer.put(settings);
}
uint32_t Queue::encodedSize() const
@@ -426,7 +426,7 @@ Queue::shared_ptr Queue::decode(QueueRegistry& queues, framing::Buffer& buffer)
string name;
buffer.getShortString(name);
std::pair<Queue::shared_ptr, bool> result = queues.declare(name, true);
- buffer.getFieldTable(result.first->settings);
+ buffer.get(result.first->settings);
result.first->configure(result.first->settings);
return result.first;
}