Skip to content

Commit

Permalink
Refs #21379. Apply suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Sep 26, 2024
1 parent 22ef98d commit 9ce171d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2140,7 +2140,7 @@ ReturnCode_t TypeObjectRegistry::register_typeobject_w_enum_dynamic_type(
MemberDescriptorImpl& member_descriptor {literal->get_descriptor()};
EnumeratedLiteralFlag flags {TypeObjectUtils::build_enumerated_literal_flag(
member_descriptor.is_default_label())};
// TODO(richi): Literal value might be automatically assigned or taken from default_value (@value annotation)
// Literal value might be automatically assigned or taken from default_value (@value annotation)
CommonEnumeratedLiteral common_literal {TypeObjectUtils::build_common_enumerated_literal(
member_descriptor.default_value().empty() ? member_descriptor.index() :
std::stol(member_descriptor.default_value()), flags)};
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/fastcdr

0 comments on commit 9ce171d

Please sign in to comment.