summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/qpid/amqp_0_10/built_in_types.h2
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;