Skip to content

Commit 6aff86a

Browse files
-Wshadow fix
1 parent 708ddcf commit 6aff86a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/osp/graph_algorithms/directed_graph_edge_view.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ class edge_view {
7777
DirectedEdgeIterator &operator=(const DirectedEdgeIterator &other) = default;
7878
DirectedEdgeIterator &operator=(DirectedEdgeIterator &&other) noexcept = default;
7979

80-
explicit DirectedEdgeIterator(const Graph_t &graph) : graph_(&graph), currentVertex_(0), currentEdgeIdx_(0) {
80+
explicit DirectedEdgeIterator(const Graph_t &graph1) : graph_(&graph1), currentVertex_(0), currentEdgeIdx_(0) {
8181
advanceToValid();
8282
}
8383

84-
DirectedEdgeIterator(const vertex_idx_t<Graph_t> edge_idx, const Graph_t &graph)
85-
: graph_(&graph), currentVertex_(0), currentEdgeIdx_(edge_idx) {
84+
DirectedEdgeIterator(const vertex_idx_t<Graph_t> edge_idx, const Graph_t &graph1)
85+
: graph_(&graph1), currentVertex_(0), currentEdgeIdx_(edge_idx) {
8686

8787
if (currentEdgeIdx_ >= graph_->num_edges()) {
8888
currentEdgeIdx_ = graph_->num_edges();

0 commit comments

Comments
 (0)