summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphs/task5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphs/task5.cpp b/graphs/task5.cpp
index 7fc9652..59900b8 100644
--- a/graphs/task5.cpp
+++ b/graphs/task5.cpp
@@ -48,7 +48,7 @@ void bfs( int a,
(*paths)[node] = y;
q->push(node);
- if(node == b) return;
+ if (node == b) return;
}
}
}