[priority-queue] Remove old init/fini

This commit is contained in:
Behdad Esfahbod 2022-05-18 16:27:54 -06:00
parent bff8248a9d
commit 6b62c10f02
1 changed files with 0 additions and 7 deletions

View File

@ -38,18 +38,11 @@
*/ */
struct hb_priority_queue_t struct hb_priority_queue_t
{ {
HB_DELETE_COPY_ASSIGN (hb_priority_queue_t);
hb_priority_queue_t () { init (); }
~hb_priority_queue_t () { fini (); }
private: private:
typedef hb_pair_t<int64_t, unsigned> item_t; typedef hb_pair_t<int64_t, unsigned> item_t;
hb_vector_t<item_t> heap; hb_vector_t<item_t> heap;
public: public:
void init () { heap.init (); }
void fini () { heap.fini (); }
void reset () { heap.resize (0); } void reset () { heap.resize (0); }