summaryrefslogtreecommitdiff
path: root/graphs
diff options
context:
space:
mode:
Diffstat (limited to 'graphs')
-rw-r--r--graphs/task4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphs/task4.cpp b/graphs/task4.cpp
index ff011cc..80737f0 100644
--- a/graphs/task4.cpp
+++ b/graphs/task4.cpp
@@ -40,7 +40,7 @@ void dfs(int x, graph g, vector<int> *path)
{
int n = int(g.size());
vector<int> used(n);
- return dfs(x, g, path, &used);
+ dfs(x, g, path, &used);
}