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 <[email protected]>
  • Loading branch information
richiware committed Sep 26, 2024
1 parent 22ef98d commit 28e8a02
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 28e8a02

Please sign in to comment.