From beb089add18f9943bcdc6e6a8ed77be44772f207 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 7 Apr 2008 20:12:31 +0000 Subject: 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 --- cpp/src/qpid/Serializer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/Serializer.h') 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 DecoderBase : public Serializer { /** Default op() for non-primitive types. */ template Derived& operator()(T& t) { + serializable(t).serialize(self()); return self(); } -- cgit v1.2.1