13
0

temporal: improve utility of TempoMap::dump() output

This commit is contained in:
Paul Davis 2022-06-03 10:50:17 -06:00
parent b3497b3f8f
commit 1b904285be

View File

@ -1668,12 +1668,14 @@ TempoMap::dump (std::ostream& ostr) const
ostr << &*p << ' ' << *p;
if (dynamic_cast<MusicTimePoint const *> (&(*p))) {
ostr << " BarTime";
} else if (dynamic_cast<TempoPoint const *> (&(*p))) {
}
if (dynamic_cast<TempoPoint const *> (&(*p))) {
ostr << " Tempo";
} else if (dynamic_cast<MeterPoint const *> (&(*p))) {
}
if (dynamic_cast<MeterPoint const *> (&(*p))) {
ostr << " Meter";
} else {
ostr << " ???";
}
ostr << endl;
}