Skip to content

Commit

Permalink
Call Cdr::set_dds_cdr_options() when TypeSupport encodes (#417)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit b3cf046)
  • Loading branch information
richiware authored and mergify[bot] committed Nov 5, 2024
1 parent 78fe3e2 commit bfff6ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ bool $struct.name$PubSubType::serialize(
ser.serialize_encapsulation();
// Serialize the object.
ser << *p_type;
ser.set_dds_cdr_options({0,0});
}
catch (eprosima::fastcdr::exception::Exception& /*exception*/)
{
Expand Down

0 comments on commit bfff6ba

Please sign in to comment.