Replaced: push_back(elt); by this->push_back(elt); to avoid compilation errors under xcode.
This commit is contained in:
parent
85e58b7915
commit
091c1cbf8e
|
@ -47,7 +47,7 @@ class DHeap: public std::vector<T> {
|
|||
public:
|
||||
|
||||
void push(const T& elt) {
|
||||
push_back(elt);
|
||||
this->push_back(elt);
|
||||
bubbleUp(this->size()-1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue