diff options
author | Alan Conway <aconway@apache.org> | 2008-04-07 20:12:31 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-04-07 20:12:31 +0000 |
commit | beb089add18f9943bcdc6e6a8ed77be44772f207 (patch) | |
tree | 1684d56b1851152f36da56bca334231bff769c43 /cpp/src/qpid/Serializer.h | |
parent | b1200b51f070c5b1c0f8d2683af815fe80df9d1c (diff) | |
download | qpid-python-beb089add18f9943bcdc6e6a8ed77be44772f207.tar.gz |
Encoding/decoding for packed structs and optional members.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645663 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/Serializer.h')
-rw-r--r-- | cpp/src/qpid/Serializer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/Serializer.h b/cpp/src/qpid/Serializer.h index 6b67a4ccf8..2660fb2b3e 100644 --- a/cpp/src/qpid/Serializer.h +++ b/cpp/src/qpid/Serializer.h @@ -167,6 +167,7 @@ template <class Derived> class DecoderBase : public Serializer<Derived> { /** Default op() for non-primitive types. */ template <class T> Derived& operator()(T& t) { + serializable(t).serialize(self()); return self(); } |