Skip to content

Commit

Permalink
Added a line fore formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed Aug 7, 2023
1 parent 38a3f00 commit 00f2f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xml_converter/src/xml_converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ vector<Parseable*> parse_pois(rapidxml::xml_node<>* root_node, map<string, Categ
return markers;
}


void parse_marker_categories(rapidxml::xml_node<>* node, map<string, Category>* marker_categories, vector<XMLError*>* errors, int depth = 0) {
if (get_node_name(node) == "MarkerCategory") {
string name = lowercase(find_attribute_value(node, "name"));
Expand All @@ -264,6 +263,7 @@ void parse_marker_categories(rapidxml::xml_node<>* node, map<string, Category>*
errors->push_back(new XMLNodeNameError("Unknown MarkerCategory Tag", node));
}
}

void parse_waypoint_categories(string full_category_name, ::waypoint::Category proto_category, map<string, Category>* marker_categories, vector<Parseable*>* parsed_pois) {
full_category_name += proto_category.name();
Category* this_category = &(*marker_categories)[full_category_name];
Expand Down

0 comments on commit 00f2f28

Please sign in to comment.