mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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:
parent
69174b555e
commit
469f3e4d2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue