summaryrefslogtreecommitdiff
path: root/libs/ardour/test/profiling
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2016-06-08 16:03:14 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2016-06-08 19:56:34 +0100
commite27df63bc5ce4d3c65ad5df318a885af8e63a418 (patch)
treedd851b2bf137dfb9d203828168bc97ad0d8eaa87 /libs/ardour/test/profiling
parent9a1c24dda74ad4b2853e1c7115a91ed06b2b3d9e (diff)
Fix a couple of build errors in the test suite.
The parameters to Session::new_audio_track() changed in e0ff70cf, and Playlist::region_list() was renamed to region_list_property() in fce6ac0e. Update calls to these functions in the test suite to match. A couple of tests still fail after these changes.
Diffstat (limited to 'libs/ardour/test/profiling')
-rw-r--r--libs/ardour/test/profiling/lots_of_regions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/test/profiling/lots_of_regions.cc b/libs/ardour/test/profiling/lots_of_regions.cc
index 4467822956..0e5a4c2ce6 100644
--- a/libs/ardour/test/profiling/lots_of_regions.cc
+++ b/libs/ardour/test/profiling/lots_of_regions.cc
@@ -29,7 +29,7 @@ main (int argc, char* argv[])
assert (playlist);
/* And the region */
- boost::shared_ptr<MidiRegion> region = boost::dynamic_pointer_cast<MidiRegion> (playlist->region_list().rlist().front());
+ boost::shared_ptr<MidiRegion> region = boost::dynamic_pointer_cast<MidiRegion> (playlist->region_list_property().rlist().front());
assert (region);
/* Duplicate it a lot */