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
|
|
@ -167,7 +167,7 @@ LuaWindow::LuaWindow ()
|
|||
ArdourWidgets::set_tooltip (script_select, _("Select Editor Buffer"));
|
||||
|
||||
setup_buffers ();
|
||||
LuaScripting::instance().scripts_changed.connect (*this, invalidator (*this), boost::bind (&LuaWindow::refresh_scriptlist, this), gui_context());
|
||||
LuaScripting::instance().scripts_changed.connect (*this, invalidator (*this), std::bind (&LuaWindow::refresh_scriptlist, this), gui_context());
|
||||
|
||||
Glib::RefPtr<Gtk::TextBuffer> tb (entry.get_buffer());
|
||||
_script_changed_connection = tb->signal_changed().connect (sigc::mem_fun(*this, &LuaWindow::script_changed));
|
||||
|
|
@ -217,7 +217,7 @@ void LuaWindow::set_session (Session* s)
|
|||
ArdourWindow::set_session (s);
|
||||
|
||||
update_title ();
|
||||
_session->DirtyChanged.connect (_session_connections, invalidator (*this), boost::bind (&LuaWindow::update_title, this), gui_context());
|
||||
_session->DirtyChanged.connect (_session_connections, invalidator (*this), std::bind (&LuaWindow::update_title, this), gui_context());
|
||||
|
||||
lua_State* L = lua->getState();
|
||||
LuaBindings::set_session (L, _session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue