From 41d33af55b9fbf4c664ccb56accb1a37bd1ef006 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 7 Oct 2008 17:27:06 +0000 Subject: broker: Fixed incorrect pass-by-reference of Queue::shared_ptr in several files. cluster: added FailoverExchange - send cluster membership to clients. client: added FailoverListener - receive cluster updates from failover exchange. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702552 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/Array.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/qpid/framing/Array.h') diff --git a/cpp/src/qpid/framing/Array.h b/cpp/src/qpid/framing/Array.h index b18b86fa35..d3ca04dd1d 100644 --- a/cpp/src/qpid/framing/Array.h +++ b/cpp/src/qpid/framing/Array.h @@ -61,13 +61,13 @@ class Array } } + ValueVector::const_iterator begin() const { return values.begin(); } + ValueVector::const_iterator end() const { return values.end(); } + private: uint8_t typeOctet; ValueVector values; - ValueVector::const_iterator begin() const { return values.begin(); } - ValueVector::const_iterator end() const { return values.end(); } - friend std::ostream& operator<<(std::ostream& out, const Array& body); }; -- cgit v1.2.1