13
0

temporal: remove unnecessary TempoMap::dump_locked() method

This commit is contained in:
Paul Davis 2020-12-20 13:14:12 -07:00
parent 47aa232f60
commit 13f4ee2c1e
2 changed files with 1 additions and 9 deletions

View File

@ -1028,7 +1028,7 @@ TempoMap::reset_starting_at (superclock_t sc)
DEBUG_TRACE (DEBUG::TemporalMap, "reset done\n");
#ifndef NDEBUG
if (DEBUG_ENABLED (DEBUG::TemporalMap)) {
dump_locked (cerr);
dump (cerr);
}
#endif
}
@ -1502,12 +1502,6 @@ TempoMap::sample_rate_changed (samplecnt_t new_sr)
void
TempoMap::dump (std::ostream& ostr) const
{
dump_locked (ostr);
}
void
TempoMap::dump_locked (std::ostream& ostr) const
{
ostr << "\n\nTEMPO MAP:\n";
for (Tempos::const_iterator t = _tempos.begin(); t != _tempos.end(); ++t) {

View File

@ -825,8 +825,6 @@ class LIBTEMPORAL_API TempoMap : public PBD::StatefulDestructible
MeterPoint & set_meter (Meter const &, superclock_t);
void dump_locked (std::ostream&) const;
TempoPoint* add_tempo (TempoPoint &);
MeterPoint* add_meter (MeterPoint &);
MusicTimePoint* add_or_replace_bartime (MusicTimePoint &);