13
0

'libs/evoral' - Through a compiler extension gcc can implement an array whose size in not known at compile time. MSVC doesn't have this extension. Therefore, use std::vector instead

This commit is contained in:
John Emmas 2013-07-23 07:53:57 +01:00
parent f9b99edc4a
commit af51ef383d

View File

@ -56,8 +56,8 @@ Curve::solve ()
(www.korf.co.uk/spline.pdf) for more details.
*/
double x[npoints];
double y[npoints];
vector<double> x(npoints);
vector<double> y(npoints);
uint32_t i;
ControlList::EventList::const_iterator xx;