unit tests: fix an unusual deadlock/block in TempoMap::write_copy()

this call works in other tests, no time to investigate it right now, and
technically the test doesn't require a write copy at all.
This commit is contained in:
Paul Davis 2025-08-19 10:51:33 -06:00
parent 69174b555e
commit 469f3e4d2a

View file

@ -17,7 +17,7 @@ TempoMapTest::createTest()
void
TempoMapTest::addTest()
{
TempoMap::WritableSharedPtr tmap (TempoMap::write_copy());
TempoMap::WritableSharedPtr tmap (new TempoMap(Tempo (120,4), Meter (4,4))); // TempoMap::write_copy());
TempoPoint& tp = tmap->set_tempo (Tempo (180, 4), BBT_Argument (6, 1, 0));
tmap->set_meter (Meter (6, 8), BBT_Argument (3, 1, 0));