summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-07 18:47:51 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-07 18:47:51 -0600
commit0a8b670bd0a1fa74e51c92dd725de0a738f7aef4 (patch)
tree9a832af9b80df303f84d81a39fc18e023810b2b5 /libs
parent0c859316a3315d7f7f60b67583fa3a1a364b8565 (diff)
yet another attempted fix for older gcc/mingw
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaces/mackie/subview.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/mackie/subview.cc b/libs/surfaces/mackie/subview.cc
index 14001e28f4..99500c0a60 100644
--- a/libs/surfaces/mackie/subview.cc
+++ b/libs/surfaces/mackie/subview.cc
@@ -881,7 +881,7 @@ TrackViewSubview::notify_change (AutomationType type, uint32_t global_strip_posi
PluginSubview::PluginSubview(MackieControlProtocol& mcp, boost::shared_ptr<ARDOUR::Stripable> subview_stripable)
: Subview(mcp, subview_stripable)
{
- _plugin_subview_state = boost::make_shared<PluginSelect>(*this);
+ _plugin_subview_state = boost::shared_ptr<PluginSelect>(new PluginSelect (*this));
connect_processors_changed_signal();
}
@@ -1077,7 +1077,7 @@ void PluginSelect::handle_vselect_event(uint32_t global_strip_position,
boost::shared_ptr<PluginInsert> plugin = boost::dynamic_pointer_cast<PluginInsert>(processor);
processor->ShowUI();
if (plugin) {
- _context.set_state(boost::make_shared<PluginEdit>(_context, boost::weak_ptr<PluginInsert>(plugin)));
+ _context.set_state (boost::shared_ptr<PluginEdit> (new PluginEdit (_context, boost::weak_ptr<PluginInsert>(plugin))));
}
}
@@ -1175,7 +1175,7 @@ bool PluginEdit::plugin_went_away() const
void PluginEdit::switch_to_plugin_select_state()
{
- _context.set_state(boost::make_shared<PluginSelect>(_context));
+ _context.set_state (boost::shared_ptr <PluginSelect>(new PluginSelect (_context)));
}
void PluginEdit::setup_vpot(