From 12afe719ce268bb10aa93a910079a44eb08999b8 Mon Sep 17 00:00:00 2001 From: MZuenni Date: Wed, 1 Mar 2023 11:36:26 +0100 Subject: removed trailing whitespaces and use more structured bindings --- graph/connect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph/connect.cpp') diff --git a/graph/connect.cpp b/graph/connect.cpp index c38b8bd..b25d844 100644 --- a/graph/connect.cpp +++ b/graph/connect.cpp @@ -23,7 +23,7 @@ struct connect { void eraseEdge(ll id) { if (connected(edges[id].first, edges[id].second) && - lct.query(&lct.nodes[edges[id].first], + lct.query(&lct.nodes[edges[id].first], &lct.nodes[edges[id].second]) == id) { lct.cut(&lct.nodes[edges[id].first], &lct.nodes[id + n]); lct.cut(&lct.nodes[edges[id].second], &lct.nodes[id + n]); -- cgit v1.2.3