X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Farray.icc;h=6ede38df668f381e996a7565ff1c9b007530049e;hb=fc3e875d6bf06f0680e897faffdcab36ad975a03;hp=71de84a8acb485f9111560a96f9bac5426c92cb0;hpb=0119396bf047bbc0a6debd06f48e6d18573e2303;p=lilypond.git diff --git a/flower/include/array.icc b/flower/include/array.icc index 71de84a8ac..6ede38df66 100644 --- a/flower/include/array.icc +++ b/flower/include/array.icc @@ -49,7 +49,7 @@ Array::insert (T k, int j) } template INLINE void -Array::sort (int (*compare)(T const&,T const&), +Array::sort (int (*compare) (T const&,T const&), int lower = -1, int upper = -1) { if (lower < 0) @@ -79,7 +79,7 @@ Array::reverse () template INLINE void -Array::OK() const +Array::OK () const { assert (max_ >= size_ && size_ >=0); if (max_) assert (array_p_);