]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/std-vector.hh
Remove default comparison for binary search
[lilypond.git] / flower / include / std-vector.hh
index 48b34f12ed90ddc6a777a5c9d03ce2ded9bff6cb..020403aea12bac1cf285028807a830a03e4dc60c 100644 (file)
@@ -194,7 +194,7 @@ template<typename T, typename Compare>
 vsize
 binary_search (vector<T> const &v,
                T const &key,
-               Compare less = less<T> (),
+               Compare less,
                vsize b = 0, vsize e = VPOS)
 {
   vsize lb = lower_bound (v, key, less, b, e);