int
curvetest (string filename)
{
+ // needed to initialize ID objects/counter used
+ // by Curve et al.
+
+ PBD::ID::init ();
+
ifstream in (filename.c_str());
stringstream line;
//Evoral::Parameter param(GainAutomation, -1.0, +1.0, 0.0);
double minx = DBL_MAX;
double maxx = DBL_MIN;
- // needed to initialize ID objects/counter used
- // by Curve et al.
-
- PBD::ID::init ();
-
while (in) {
double x, y;