--- simulavr-1.0.0/src/systemclock.cpp.orig 2012-02-12 07:26:38.000000000 -0800 +++ simulavr-1.0.0/src/systemclock.cpp 2015-11-07 18:21:49.960342000 -0800 @@ -67,7 +67,7 @@ template void MinHeap::Insert(Key k, Value v) { - resize(this->size()+1); + this->resize(this->size()+1); for(unsigned i = this->size();;) { unsigned parent = i/2; if(parent == 0 || (*this)[parent-1].first < k) {