Merge branch 'master' into fs_emboss
This commit is contained in:
commit
1e6483827f
@ -17,6 +17,14 @@ public:
|
||||
{}
|
||||
~MutablePriorityQueue() { clear(); }
|
||||
|
||||
MutablePriorityQueue(MutablePriorityQueue &&) = default;
|
||||
MutablePriorityQueue& operator=(MutablePriorityQueue &&) = default;
|
||||
|
||||
// This class modifies the outside data through the m_index_setter
|
||||
// and thus it should not be copied. The semantics are similar to std::unique_ptr
|
||||
MutablePriorityQueue(const MutablePriorityQueue &) = delete;
|
||||
MutablePriorityQueue& operator=(const MutablePriorityQueue &) = delete;
|
||||
|
||||
void clear();
|
||||
void reserve(size_t cnt) { m_heap.reserve(cnt); }
|
||||
void push(const T &item);
|
||||
|
Loading…
Reference in New Issue
Block a user