diff options
| author | Gordon Sim <gsim@apache.org> | 2009-05-11 19:57:17 +0000 | 
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-05-11 19:57:17 +0000 | 
| commit | 2be73b1fa71d50ef20d444d0f2bdce9fd90ccc24 (patch) | |
| tree | 7c41706eedbda56371a4eff31bbd1d1ae9c59e57 /cpp/src/qpid/replication/ReplicationExchange.cpp | |
| parent | 2ea122316b1093392a90df48a6e662838f9c522d (diff) | |
| download | qpid-python-2be73b1fa71d50ef20d444d0f2bdce9fd90ccc24.tar.gz | |
Reserve space for sequence id in args field table.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773667 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/replication/ReplicationExchange.cpp')
| -rw-r--r-- | cpp/src/qpid/replication/ReplicationExchange.cpp | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/cpp/src/qpid/replication/ReplicationExchange.cpp b/cpp/src/qpid/replication/ReplicationExchange.cpp index 29cdf21bc6..053a317743 100644 --- a/cpp/src/qpid/replication/ReplicationExchange.cpp +++ b/cpp/src/qpid/replication/ReplicationExchange.cpp @@ -36,11 +36,13 @@ using namespace qpid::replication::constants;  const std::string SEQUENCE_VALUE("qpid.replication-event.sequence");  ReplicationExchange::ReplicationExchange(const std::string& name, bool durable,  -                                         const FieldTable& args, +                                         const FieldTable& _args,                                           QueueRegistry& qr,                                           Manageable* parent)  -    : Exchange(name, durable, args, parent), queues(qr), sequence(args.getAsInt64(SEQUENCE_VALUE)), init(false) - {} +    : Exchange(name, durable, _args, parent), queues(qr), sequence(args.getAsInt64(SEQUENCE_VALUE)), init(false) +{ +    args.setInt64(SEQUENCE_VALUE, sequence); +}  std::string ReplicationExchange::getType() const { return typeName; }             | 
