mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
formatting source-code for 91c9c96cf4
This commit is contained in:
parent
91c9c96cf4
commit
6882b545c7
@ -49,12 +49,9 @@ class MinHeap {
|
||||
/** Inserts a new key 'k' */
|
||||
void insertKey(int k);
|
||||
|
||||
~MinHeap() {
|
||||
delete [] harr;
|
||||
}
|
||||
~MinHeap() { delete[] harr; }
|
||||
};
|
||||
|
||||
|
||||
// Inserts a new key 'k'
|
||||
void MinHeap::insertKey(int k) {
|
||||
if (heap_size == capacity) {
|
||||
|
Loading…
Reference in New Issue
Block a user