mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +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
|
|
@ -42,7 +42,7 @@ StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr<StatefulDestructible>
|
|||
be sure to notify owners of this command.
|
||||
*/
|
||||
|
||||
s->DropReferences.connect_same_thread (*this, boost::bind (&Destructible::drop_references, this));
|
||||
s->DropReferences.connect_same_thread (*this, std::bind (&Destructible::drop_references, this));
|
||||
}
|
||||
|
||||
StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr<StatefulDestructible> s, XMLNode const& n)
|
||||
|
|
@ -63,7 +63,7 @@ StatefulDiffCommand::StatefulDiffCommand (std::shared_ptr<StatefulDestructible>
|
|||
be sure to notify owners of this command.
|
||||
*/
|
||||
|
||||
s->DropReferences.connect_same_thread (*this, boost::bind (&Destructible::drop_references, this));
|
||||
s->DropReferences.connect_same_thread (*this, std::bind (&Destructible::drop_references, this));
|
||||
}
|
||||
|
||||
StatefulDiffCommand::~StatefulDiffCommand ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue