Skip to content

Commit

Permalink
Set index on exception members (#172)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany authored Feb 19, 2025
1 parent 5572222 commit ecdfd12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/eprosima/idl/parser/tree/Exception.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public List<Member> getMembers()
public int addMember(Member member)
{
m_members.add(member);
member.set_index(m_members.size() - 1);
return m_members.size() - 1;
}

Expand Down

0 comments on commit ecdfd12

Please sign in to comment.