]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/varray.hh
release: 0.1.59
[lilypond.git] / flower / include / varray.hh
index 4333bfa6e495fd2be26ec9bb3b70ab4eedce40ff..82106ca8d65846a60a694ba8e582cdaf8b7e9474 100644 (file)
@@ -76,6 +76,13 @@ public:
   Array() 
     { array_p_ = 0; max_ =0; size_ =0; }
 
+  // ugh, get around gcc 2.8.1 ice; see bezier.cc
+  Array (int i) 
+  { 
+    max_ = size_ = i; 
+    array_p_ = new T[i];
+  }
+
 
   /** set the size_ to #s#.
       POST: size() == s.