Skip to content

Commit f80b761

Browse files
committed
lint
1 parent ef6c2bc commit f80b761

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/makeConnected.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class UpdateNewEdges {
5353

5454
std::vector<II_t_rt> &new_edges;
5555

56-
UpdateNewEdges(std::vector<II_t_rt>& edges_out)
56+
explicit UpdateNewEdges(std::vector<II_t_rt>& edges_out)
5757
: new_edges(edges_out) {}
5858

5959
void visit_vertex_pair(V u, V v, G& g) {
@@ -90,7 +90,7 @@ makeConnected(pgrouting::UndirectedGraph &graph) {
9090
}
9191

9292
return results;
93-
};
93+
}
9494

9595
} // namespace functions
9696
} // namespace pgrouting

0 commit comments

Comments
 (0)