diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-03 18:43:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-01-03 18:43:58 +0000 |
commit | 2a200bdc0ead3d2a2a0481db44b0bc080529aa69 (patch) | |
tree | 2dc854572ed60513668647c2416707c89c68c3ea /libs/ardour/ardour/tempo.h | |
parent | 0d4658e0afb35329fe4ba135a20df92691f8b639 (diff) |
return two iterators into the Bars|Beats list of the tempo map rather than making a copy; use iterators in the GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11146 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 8b1cfe6909..ff21d880f2 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -227,7 +227,9 @@ class TempoMap : public PBD::StatefulDestructible } const BBTPointList& map() const { return _map ; } - void map (BBTPointList&, framepos_t start, framepos_t end); + + void map (BBTPointList::const_iterator&, BBTPointList::const_iterator&, + framepos_t start, framepos_t end); void bbt_time (framepos_t when, Timecode::BBT_Time&); framecnt_t frame_time (const Timecode::BBT_Time&); |