Skip to content

Commit

Permalink
Regenerate types with Fast-DDS-Gen v3.3.1 (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
  • Loading branch information
EugenioCollado authored Nov 27, 2024
1 parent 08db235 commit a3da263
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions resources/static_types/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
7 changes: 4 additions & 3 deletions resources/static_types/HelloWorldv1.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@

#include <fastrtps/utils/fixed_size_string.hpp>

#include <stdint.h>
#include <array>
#include <bitset>
#include <cstdint>
#include <map>
#include <stdint.h>
#include <string>
#include <vector>
#include <map>
#include <bitset>

#if defined(_WIN32)
#if defined(EPROSIMA_USER_DLL_EXPORT)
Expand Down

0 comments on commit a3da263

Please sign in to comment.