m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse.h b/src/parse.h
index cb6e3c6..1d37083 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -14,6 +14,7 @@ public:
while (std::getline(input_file_, edge)) {
parse_edge_(edge);
}
+ graph_.sort_vertices();
}
const Graph & get_graph() {