diff options
Diffstat (limited to 'cpp/src/qpid/amqp_0_10/Packer.h')
| -rw-r--r-- | cpp/src/qpid/amqp_0_10/Packer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/amqp_0_10/Packer.h b/cpp/src/qpid/amqp_0_10/Packer.h index ebb0488525..8943dc4c51 100644 --- a/cpp/src/qpid/amqp_0_10/Packer.h +++ b/cpp/src/qpid/amqp_0_10/Packer.h @@ -126,13 +126,13 @@ template <class T> class Packer template <class S> void encode(S& s) const { Bits bits = packBits(data); - s(bits); + s.littleEnd(bits); data.serialize(s); } template <class S> void decode(S& s) { Bits bits; - s(bits); + s.littleEnd(bits); PackedDecoder<S, Bits> decode(s, bits); data.serialize(decode); } |
