summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-04-02 18:35:31 +0000
committerAlan Conway <aconway@apache.org>2008-04-02 18:35:31 +0000
commit853000ea9e135d1b7d5d6783c5815691cc61cc91 (patch)
tree98f8bdc3d7a3c12f17f6bc7d55f77ee42bc406e3 /qpid/cpp/src
parentc6bd8565ecc054fa3a393f7df04b1d44836c3a79 (diff)
downloadqpid-python-853000ea9e135d1b7d5d6783c5815691cc61cc91.tar.gz
Fix compile error on rhel5.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@644005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/amqp_0_10/built_in_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h b/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h
index b55f9baf42..4016302ae8 100644
--- a/qpid/cpp/src/qpid/amqp_0_10/built_in_types.h
+++ b/qpid/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;