diff options
author | Alan Conway <aconway@apache.org> | 2008-04-02 18:35:31 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-04-02 18:35:31 +0000 |
commit | 559ab77a2b18b4e1d4f23c66d2b70125c3cf2d0e (patch) | |
tree | c405a6feab5481b5656acc375f6debc9dfd11a17 /cpp/src/qpid | |
parent | 213961a20d63578f36d5c42acae175b539e2965f (diff) | |
download | qpid-python-559ab77a2b18b4e1d4f23c66d2b70125c3cf2d0e.tar.gz |
Fix compile error on rhel5.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r-- | cpp/src/qpid/amqp_0_10/built_in_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp_0_10/built_in_types.h b/cpp/src/qpid/amqp_0_10/built_in_types.h index b55f9baf42..4016302ae8 100644 --- a/cpp/src/qpid/amqp_0_10/built_in_types.h +++ b/cpp/src/qpid/amqp_0_10/built_in_types.h @@ -76,7 +76,7 @@ template <size_t N> std::ostream& operator<<(std::ostream& o, const Bin<N>& b) { template <> struct Bin<1> : public boost::array<char, 1> { Bin(char c=0) { this->front() = c; } operator char() { return this->front(); } - template <class S> void serialize(S& s) { s.raw(data(), size()); } + template <class S> void serialize(S& s) { s(front()); } }; typedef Bin<1> Bin8; |