Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Dec 13, 2023
1 parent abea867 commit 1b7bc29
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cxx-parser/cxx/terra/include/terra.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@ namespace terra
}
}

if (base_node.name.compare(cpp_entity.parent().value().name()) == 0)
{
parent_name = "";
}

base_node.parent_name = parent_name;
base_node.attributes = std::vector<std::string>(parse_attributes(cpp_entity));
base_node.comment = parse_comment(cpp_entity);
Expand Down

0 comments on commit 1b7bc29

Please sign in to comment.