mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence and ExportPortChannel.
This commit is contained in:
parent
90c5524e7b
commit
b35518e212
819 changed files with 9736 additions and 9709 deletions
|
|
@ -85,9 +85,9 @@ static int export_session (Session *session,
|
|||
ExportSettings const& settings)
|
||||
{
|
||||
ExportTimespanPtr tsp = session->get_export_handler()->add_timespan();
|
||||
boost::shared_ptr<ExportChannelConfiguration> ccp = session->get_export_handler()->add_channel_config();
|
||||
boost::shared_ptr<ARDOUR::ExportFilename> fnp = session->get_export_handler()->add_filename();
|
||||
boost::shared_ptr<ARDOUR::BroadcastInfo> b;
|
||||
std::shared_ptr<ExportChannelConfiguration> ccp = session->get_export_handler()->add_channel_config();
|
||||
std::shared_ptr<ARDOUR::ExportFilename> fnp = session->get_export_handler()->add_filename();
|
||||
std::shared_ptr<ARDOUR::BroadcastInfo> b;
|
||||
|
||||
XMLTree tree;
|
||||
|
||||
|
|
@ -124,7 +124,7 @@ static int export_session (Session *session,
|
|||
"</ExportFormatSpecification>"
|
||||
).c_str());
|
||||
|
||||
boost::shared_ptr<ExportFormatSpecification> fmp = session->get_export_handler()->add_format(*tree.root());
|
||||
std::shared_ptr<ExportFormatSpecification> fmp = session->get_export_handler()->add_format(*tree.root());
|
||||
|
||||
/* set up range */
|
||||
samplepos_t start, end;
|
||||
|
|
@ -183,7 +183,7 @@ static int export_session (Session *session,
|
|||
return -1;
|
||||
}
|
||||
|
||||
boost::shared_ptr<ARDOUR::ExportStatus> status = session->get_export_status ();
|
||||
std::shared_ptr<ARDOUR::ExportStatus> status = session->get_export_status ();
|
||||
|
||||
// TODO trap SIGINT -> status->abort();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue