fix gap callback argument types at point of use
This commit is contained in:
parent
0114516c82
commit
5f4fa2d9ea
@ -190,6 +190,7 @@ public:
|
||||
boost::shared_ptr<Region> combine (const RegionList&);
|
||||
void uncombine (boost::shared_ptr<Region>);
|
||||
void fade_range (std::list<TimelineRange>&);
|
||||
void remove_gaps (timecnt_t const & gap_threshold, timecnt_t const & leave_gap, boost::function<void (timepos_t, timecnt_t)> gap_callback);
|
||||
|
||||
void shuffle (boost::shared_ptr<Region>, int dir);
|
||||
|
||||
|
@ -1207,14 +1207,14 @@ Playlist::cut_copy (boost::shared_ptr<Playlist> (Playlist::*pmf)(timepos_t const
|
||||
boost::shared_ptr<Playlist>
|
||||
Playlist::cut (list<TimelineRange>& ranges, bool result_is_hidden)
|
||||
{
|
||||
boost::shared_ptr<Playlist> (Playlist::*pmf) (samplepos_t, samplecnt_t, bool) = &Playlist::cut;
|
||||
boost::shared_ptr<Playlist> (Playlist::*pmf) (timepos_t const & , timecnt_t const &, bool) = &Playlist::cut;
|
||||
return cut_copy (pmf, ranges, result_is_hidden);
|
||||
}
|
||||
|
||||
boost::shared_ptr<Playlist>
|
||||
Playlist::copy (list<TimelineRange>& ranges, bool result_is_hidden)
|
||||
{
|
||||
boost::shared_ptr<Playlist> (Playlist::*pmf) (samplepos_t, samplecnt_t, bool) = &Playlist::copy;
|
||||
boost::shared_ptr<Playlist> (Playlist::*pmf) (timepos_t const &, timecnt_t const &, bool) = &Playlist::copy;
|
||||
return cut_copy (pmf, ranges, result_is_hidden);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user