Author: aconway
Date: Wed Apr 2 11:35:31 2008
New Revision: 644005
URL: http://svn.apache.org/viewvc?rev=644005&view=rev
Log:
Fix compile error on rhel5.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h?rev=644005&r1=644004&r2=644005&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h Wed Apr
2 11:35:31 2008
@@ -76,7 +76,7 @@
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;