avoid manual memory management of PairingHeap pointers in Block
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Jun 2021 20:34:29 +0000 (13:34 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Jun 2021 19:24:07 +0000 (12:24 -0700)
commita72ec6e91f497a1df0f0d3133a91a617221aaa4b
tree8f89aee711f16afa993c80522148e68bd9efb78d
parent14c2d25eb29a86da4b806194b51eacdb4e22664e
avoid manual memory management of PairingHeap pointers in Block

Not only does this free us from having to think about allocation tracking and
memory leaks, because Block does not participate in any inheritance hierarchy we
can also remove its explicit destructor.
lib/vpsc/block.cpp
lib/vpsc/block.h