Skip to content

Commit

Permalink
Regenerate types with Fast DDS Gen v3.3.1 (#965)
Browse files Browse the repository at this point in the history
* Regenerate types with Fast-DDS-Gen v3.3.1

Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>

* Regenerate types for both versions of Fast CDR

Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>

---------

Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
  • Loading branch information
EugenioCollado authored Nov 28, 2024
1 parent 2601f88 commit c2b2561
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/Examples/C++/DDSHelloWorld/src/HelloWorldPubSubTypes.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ bool HelloWorldPubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
#if FASTCDR_VERSION_MAJOR > 1
ser.set_dds_cdr_options({0,0});
#else
ser.setDDSCdrOptions(0);
#endif // FASTCDR_VERSION_MAJOR > 1
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down

0 comments on commit c2b2561

Please sign in to comment.