Skip to content

Commit

Permalink
Refs #20165. Fix warning on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware committed Sep 10, 2024
1 parent 9f6854e commit 0995869
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public:

const_decl(ctx, parent, const, const_type) ::= <<
$const_type$
const $const.typeCode.cppTypename$ $const.name$ = $const.value$;
const $const.typeCode.cppTypename$ $const.name$ = $const.value$$const_value_prefix(const)$;
>>

typedef_decl(ctx, parent, typedefs, typedefs_type, declarator_type) ::= <<
Expand Down Expand Up @@ -822,6 +822,12 @@ m__d = $first(member.labels)$;
$endif$
%>

const_value_prefix(const) ::= <%
$if(const.typeCode.isFloat32Type)$
f
$endif$
%>

//{ Fast DDS-Gen extensions
module_conversion(ctx, parent, modules, definition_list) ::= <<
$modules : { module |
Expand Down

0 comments on commit 0995869

Please sign in to comment.