diff --git a/src/animation/shapeRule.cpp b/src/animation/shapeRule.cpp index 9ea6424..52b48f8 100644 --- a/src/animation/shapeRule.cpp +++ b/src/animation/shapeRule.cpp @@ -18,7 +18,7 @@ ContinuousTimeline getShapeRules(const BoundedTimeline& phones auto continuousPhones = boundedTimelinetoContinuousOptional(phones); // Create timeline of shape rules - ContinuousTimeline shapeRules(phones.getRange(), {{Shape::X}, boost::none}); + ContinuousTimeline shapeRules(phones.getRange(), ShapeRule({Shape::X}, boost::none)); centiseconds previousDuration = 0_cs; for (const auto& timedPhone : continuousPhones) { optional phone = timedPhone.getValue(); @@ -34,7 +34,7 @@ ContinuousTimeline getShapeRules(const BoundedTimeline& phones // Copy to timeline. // Later shape sets may overwrite earlier ones if overlapping. for (const auto& timedShapeSet : phoneShapeSets) { - shapeRules.set(timedShapeSet.getTimeRange(), {timedShapeSet.getValue(), phone}); + shapeRules.set(timedShapeSet.getTimeRange(), ShapeRule(timedShapeSet.getValue(), phone)); } }