]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add vector constructor with size argument
authorCarl Sorensen <c_sorensen@byu.edu>
Sat, 29 Oct 2011 23:46:47 +0000 (17:46 -0600)
committerCarl Sorensen <c_sorensen@byu.edu>
Sat, 29 Oct 2011 23:49:00 +0000 (17:49 -0600)
flower/include/std-vector.hh

index 1d0cbbac3a2ad08a8d230482c09fc4ebffdd916b..48b34f12ed90ddc6a777a5c9d03ce2ded9bff6cb 100644 (file)
@@ -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)
   {
   }