]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/pqueue.hh
release: 1.0.1
[lilypond.git] / flower / include / pqueue.hh
index 5f4a97fb4792c1d8bd660fbc822cfa310c403272..ba48993ccb94028f4e24adb171dc2512b8a78733 100644 (file)
@@ -3,13 +3,13 @@
 
   source file of the Flower Library
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef PQUEUE_HH
 #define PQUEUE_HH
-#include "varray.hh"
+#include "array.hh"
 
 
 template<class K, class T>
@@ -85,7 +85,7 @@ public:
        int mini=2;
        int lasti=1;
 
-       while ( mini < size()) {
+       while (mini < size()) {
            if (compare (elt (mini + 1), elt (mini)) <0)
                mini++;
            if (compare (last,elt (mini)) < 0)