mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Reduce reliance on boost - the hard part
the rest from `tools/convert_boost.sh`.
* replace boost::function, boost::bind with std::function and std::bind.
This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
This commit is contained in:
parent
ff95d81612
commit
74c4ca3e52
392 changed files with 2264 additions and 2282 deletions
|
|
@ -166,7 +166,7 @@ MidiRegionView::init (bool /*wfd*/)
|
|||
|
||||
_note_group->parent()->raise_to_top();
|
||||
|
||||
Config->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&MidiRegionView::parameter_changed, this, _1), gui_context());
|
||||
Config->ParameterChanged.connect (*this, invalidator (*this), std::bind (&MidiRegionView::parameter_changed, this, _1), gui_context());
|
||||
connect_to_diskstream ();
|
||||
}
|
||||
|
||||
|
|
@ -224,7 +224,7 @@ MidiRegionView::connect_to_diskstream ()
|
|||
{
|
||||
midi_view()->midi_track()->DataRecorded.connect(
|
||||
*this, invalidator(*this),
|
||||
boost::bind (&MidiRegionView::data_recorded, this, _1),
|
||||
std::bind (&MidiRegionView::data_recorded, this, _1),
|
||||
gui_context());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue