We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2601f88 commit c2b2561Copy full SHA for c2b2561
code/Examples/C++/DDSHelloWorld/src/HelloWorldPubSubTypes.cxx
@@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
83
ser.serialize_encapsulation();
84
// Serialize the object.
85
ser << *p_type;
86
+#if FASTCDR_VERSION_MAJOR > 1
87
+ ser.set_dds_cdr_options({0,0});
88
+#else
89
+ ser.setDDSCdrOptions(0);
90
+#endif // FASTCDR_VERSION_MAJOR > 1
91
}
92
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
93
{
0 commit comments