13
0

Fix compilation with clang (vexing-parse)

This commit is contained in:
Robin Gareus 2022-08-21 01:02:43 +02:00
parent ac27bbafcf
commit 027b6ee9cf

View File

@ -393,7 +393,7 @@ MidiPlaylist::combine (RegionList const & rl)
++i; ++i;
timepos_t earliest (timepos_t::max (Temporal::BeatTime)); timepos_t earliest (timepos_t::max (Temporal::BeatTime));
timepos_t latest (timepos_t (Temporal::BeatTime)); timepos_t latest (Temporal::BeatTime);
for (auto const & r : rl) { for (auto const & r : rl) {
assert (boost::dynamic_pointer_cast<MidiRegion> (r)); assert (boost::dynamic_pointer_cast<MidiRegion> (r));