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
|
|
@ -676,7 +676,7 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name,
|
|||
audio_midi_setup->set_position (WIN_POS_CENTER);
|
||||
audio_midi_setup->set_modal ();
|
||||
audio_midi_setup->present ();
|
||||
_engine_dialog_connection = audio_midi_setup->signal_response().connect (boost::bind (&ARDOUR_UI::audio_midi_setup_for_new_session_done, this, _1, path, snap_name, session_template, bus_profile, unnamed, domain));
|
||||
_engine_dialog_connection = audio_midi_setup->signal_response().connect (std::bind (&ARDOUR_UI::audio_midi_setup_for_new_session_done, this, _1, path, snap_name, session_template, bus_profile, unnamed, domain));
|
||||
|
||||
/* not done yet, but we're avoiding modal dialogs */
|
||||
return 0;
|
||||
|
|
@ -1064,7 +1064,7 @@ If you still wish to proceed, please use the\n\n\
|
|||
* copied so far, and the total number to copy.
|
||||
*/
|
||||
|
||||
sa.Progress.connect_same_thread (c, boost::bind (&ARDOUR_UI::save_as_progress_update, this, _1, _2, _3, label, progress_bar));
|
||||
sa.Progress.connect_same_thread (c, std::bind (&ARDOUR_UI::save_as_progress_update, this, _1, _2, _3, label, progress_bar));
|
||||
|
||||
progress_dialog.show_all ();
|
||||
progress_dialog.present ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue