Skip to content

Commit f2cc31b

Browse files
ClaudeDennisOSRM
andcommitted
Fix clang-format for node_based_edge.hpp
Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
1 parent caf3b88 commit f2cc31b

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

include/extractor/node_based_edge.hpp

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,24 @@ struct NodeBasedEdgeAnnotation
7373

7474
bool CanCombineWith(const NodeBasedEdgeAnnotation &other) const
7575
{
76-
return (
77-
std::tie(string_view_id, classes, travel_mode, is_left_hand_driving) ==
78-
std::tie(other.string_view_id, other.classes, other.travel_mode, other.is_left_hand_driving));
79-
}
80-
81-
bool operator<(const NodeBasedEdgeAnnotation &other) const
82-
{
83-
return (std::tie(string_view_id, lane_description_id, classes, travel_mode, is_left_hand_driving) <
76+
return (std::tie(string_view_id, classes, travel_mode, is_left_hand_driving) ==
8477
std::tie(other.string_view_id,
85-
other.lane_description_id,
8678
other.classes,
8779
other.travel_mode,
8880
other.is_left_hand_driving));
8981
}
82+
83+
bool operator<(const NodeBasedEdgeAnnotation &other) const
84+
{
85+
return (
86+
std::tie(
87+
string_view_id, lane_description_id, classes, travel_mode, is_left_hand_driving) <
88+
std::tie(other.string_view_id,
89+
other.lane_description_id,
90+
other.classes,
91+
other.travel_mode,
92+
other.is_left_hand_driving));
93+
}
9094
};
9195

9296
struct NodeBasedEdge

0 commit comments

Comments
 (0)