X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fstd-vector.hh;h=e7f29a8fcbb05065e0157f7c60c586b4e2309823;hb=e1ce25d2f8182442eec316e33b085922c6a9dcae;hp=48b34f12ed90ddc6a777a5c9d03ce2ded9bff6cb;hpb=1d509b27723ea1c359b51c0f2fe623a32867d6f9;p=lilypond.git diff --git a/flower/include/std-vector.hh b/flower/include/std-vector.hh index 48b34f12ed..e7f29a8fcb 100644 --- a/flower/include/std-vector.hh +++ b/flower/include/std-vector.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2006--2011 Jan Nieuwenhuizen + Copyright (C) 2006--2012 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -194,7 +194,7 @@ template vsize binary_search (vector const &v, T const &key, - Compare less = less (), + Compare less, vsize b = 0, vsize e = VPOS) { vsize lb = lower_bound (v, key, less, b, e); @@ -258,7 +258,7 @@ junk_pointers (vector &v) } vector string_split (string str, char c); -string string_join (vector const &strs, string infix); +string string_join (vector const &strs, const string &infix); #define iterof(i,s) typeof((s).begin()) i((s).begin())