X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fpqueue.hh;h=fa28ca011d574eec179824653de1368fabcdda97;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=2f1896f42a38bb8582d5387301287a8db3a64c6c;hpb=64313890b232c731d432e5b096f30bffc3f3756d;p=lilypond.git diff --git a/flower/include/pqueue.hh b/flower/include/pqueue.hh index 2f1896f42a..fa28ca011d 100644 --- a/flower/include/pqueue.hh +++ b/flower/include/pqueue.hh @@ -3,7 +3,7 @@ source file of the Flower Library - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #ifndef PQUEUE_HH @@ -34,7 +34,7 @@ int compare (PQueue_ent const &e1, PQueue_ent const &e2) template class PQueue { - Array heap_array_; + vector heap_array_; T &elt (vsize i) { return heap_array_[i - 1];