Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
jere8184 committed Nov 25, 2024
1 parent 7cc4f24 commit c3ed21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libopenage/datastructure/pairing_heap.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ class PairingHeap final {
* erase all elements on the heap.
*/
void clear() {
auto delete_node = [](element_t node){delete node;};
auto delete_node = [](element_t node) {delete node;};
this->iter_all(delete_node, true);
this->root_node = nullptr;
this->node_count = 0;
Expand Down

0 comments on commit c3ed21a

Please sign in to comment.