From 559ab77a2b18b4e1d4f23c66d2b70125c3cf2d0e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 2 Apr 2008 18:35:31 +0000 Subject: Fix compile error on rhel5. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644005 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/amqp_0_10/built_in_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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 std::ostream& operator<<(std::ostream& o, const Bin& b) { template <> struct Bin<1> : public boost::array { Bin(char c=0) { this->front() = c; } operator char() { return this->front(); } - template void serialize(S& s) { s.raw(data(), size()); } + template void serialize(S& s) { s(front()); } }; typedef Bin<1> Bin8; -- cgit v1.2.1