You can declare this in the cpp file as it's not meant to be seen outside it.

Also, for new code, let's use this bracing style:

    struct Heap {
       ...
    }