mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +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
|
|
@ -96,7 +96,7 @@ class MyEventLoop : public sigc::trackable, public EventLoop
|
|||
run_loop_thread = Glib::Threads::Thread::self();
|
||||
}
|
||||
|
||||
bool call_slot (InvalidationRecord*, const boost::function<void()>& f) {
|
||||
bool call_slot (InvalidationRecord*, const std::function<void()>& f) {
|
||||
if (Glib::Threads::Thread::self() == run_loop_thread) {
|
||||
f ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue