From e5ba4691306ffa205914bae01e0f33633a67f54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Hl=C3=A1sek?= Date: Sat, 8 Aug 2020 09:29:02 -0700 Subject: [PATCH] Using to replace typedef --- graph/prim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/prim.cpp b/graph/prim.cpp index c156bf3b8..0432926ef 100644 --- a/graph/prim.cpp +++ b/graph/prim.cpp @@ -3,7 +3,7 @@ #include #include -typedef std::pair PII; +using PII = std::pair; int prim(int x, const std::vector< std::vector > &graph) { // priority queue to maintain edges with respect to weights