]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/std-vector.hh
Run grand-replace for 2012
[lilypond.git] / flower / include / std-vector.hh
index 1d0cbbac3a2ad08a8d230482c09fc4ebffdd916b..dd276df1861c3696c8a54825dca76250afbb65ba 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2006--2011 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 2006--2012 Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -89,6 +89,10 @@ public:
   {
   }
 
+  vector<T, A> (size_t n) : __flower_vector<T, A> (n)
+  {
+  }
+
   vector<T, A> (vector<T, A> const &v) : __flower_vector<T, A> (v)
   {
   }
@@ -190,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);