From c3d68ede7d1fe6a5bd4c4d0abfe1c22c5bdaeed7 Mon Sep 17 00:00:00 2001 From: pnuth <85662273+radicalparty@users.noreply.github.com> Date: Fri, 6 Sep 2024 16:31:26 +0900 Subject: [PATCH] Update priority_queue.cpp --- data_structure/queue/priority_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structure/queue/priority_queue.cpp b/data_structure/queue/priority_queue.cpp index 031d0b2..d663f72 100644 --- a/data_structure/queue/priority_queue.cpp +++ b/data_structure/queue/priority_queue.cpp @@ -8,7 +8,7 @@ class pq { struct Node { T value; Node *l, *r, *parent; - Node(T val) : value(val), l(nullptr), r(nullptr), parent(nullptr) {} // Node constructor + Node(T val) : value(val), l(nullptr), r(nullptr), parent(nullptr) {} }; Node* root;