Replaced: push_back(elt); by this->push_back(elt); to avoid compilation errors under xcode.

This commit is contained in:
Paolo Cignoni 2011-12-17 11:50:40 +00:00
parent 85e58b7915
commit 091c1cbf8e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}