for (MidiModel::SysExes::const_iterator i = _model->sysexes().begin(); i != _model->sysexes().end(); ++i) {
const boost::shared_ptr<const Evoral::MIDIEvent<Evoral::MusicalTime> > mev =
- boost::dynamic_pointer_cast<const Evoral::MIDIEvent<Evoral::MusicalTime> > (*i);
+ boost::static_pointer_cast<const Evoral::MIDIEvent<Evoral::MusicalTime> > (*i);
if (mev) {
if (mev->is_spp() || mev->is_mtc_quarter() || mev->is_mtc_full()) {
for (MidiModel::SysExes::const_iterator i = _model->sysexes().begin(); i != _model->sysexes().end(); ++i) {
const boost::shared_ptr<const Evoral::MIDIEvent<Evoral::MusicalTime> > mev =
- boost::dynamic_pointer_cast<const Evoral::MIDIEvent<Evoral::MusicalTime> > (*i);
+ boost::static_pointer_cast<const Evoral::MIDIEvent<Evoral::MusicalTime> > (*i);
Evoral::MusicalTime time = (*i)->time();
assert (time >= 0);
/** MIDI helper functions for an Event.
*
- * This class contains no data, an event can be cast to a MIDIEvent
- * but the application must make sure the event actually contains
+ * This class contains no data, an Evoral::Event can be cast to a MIDIEvent
+ * but the application must make sure the Event actually contains
* valid MIDI data for these functions to make sense.
*/
template<typename Time>