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;