From 13f4ee2c1e742018fc4dfada4766a040bcdde084 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 20 Dec 2020 13:14:12 -0700 Subject: [PATCH] temporal: remove unnecessary TempoMap::dump_locked() method --- libs/temporal/tempo.cc | 8 +------- libs/temporal/temporal/tempo.h | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index 9da93b69cd..27817ae428 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -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) { diff --git a/libs/temporal/temporal/tempo.h b/libs/temporal/temporal/tempo.h index 0d1d878bab..b518ff8020 100644 --- a/libs/temporal/temporal/tempo.h +++ b/libs/temporal/temporal/tempo.h @@ -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 &);