13
0

temporal: remove debug output

This commit is contained in:
Paul Davis 2022-05-24 18:08:31 -06:00
parent a7ee848f70
commit 540a15efa0

View File

@ -873,14 +873,12 @@ TempoMap::core_add_tempo (TempoPoint* tp, bool& replaced)
*((Tempo*)&(*t)) = *tp; *((Tempo*)&(*t)) = *tp;
delete tp; delete tp;
DEBUG_TRACE (DEBUG::TemporalMap, string_compose ("overwrote old tempo with %1\n", *tp)); DEBUG_TRACE (DEBUG::TemporalMap, string_compose ("overwrote old tempo with %1\n", *tp));
std::cerr << string_compose ("overwrote old tempo with %1\n", *tp);
replaced = true; replaced = true;
return &(*t); return &(*t);
} }
} }
DEBUG_TRACE (DEBUG::TemporalMap, string_compose ("inserted tempo %1\n", *tp)); DEBUG_TRACE (DEBUG::TemporalMap, string_compose ("inserted tempo %1\n", *tp));
std::cerr << string_compose ("inserted tempo %1\n", *tp);
replaced = false; replaced = false;
return &(* _tempos.insert (t, *tp)); return &(* _tempos.insert (t, *tp));