diff --git a/libs/surfaces/mackie/subview.cc b/libs/surfaces/mackie/subview.cc index 7f5dd7ca67..14001e28f4 100644 --- a/libs/surfaces/mackie/subview.cc +++ b/libs/surfaces/mackie/subview.cc @@ -67,18 +67,18 @@ boost::shared_ptr SubviewFactory::create_subview( { switch (svm) { case Subview::EQ: - return boost::make_shared(mcp, subview_stripable); + return boost::shared_ptr(new EQSubview (mcp, subview_stripable)); case Subview::Dynamics: - return boost::make_shared(mcp, subview_stripable); + return boost::shared_ptr(new DynamicsSubview (mcp, subview_stripable)); case Subview::Sends: - return boost::make_shared(mcp, subview_stripable); + return boost::shared_ptr(new SendsSubview (mcp, subview_stripable)); case Subview::TrackView: - return boost::make_shared(mcp, subview_stripable); + return boost::shared_ptr(new TrackViewSubview (mcp, subview_stripable)); case Subview::Plugin: - return boost::make_shared(mcp, subview_stripable); + return boost::shared_ptr(new PluginSubview (mcp, subview_stripable)); case Subview::None: default: - return boost::make_shared(mcp, subview_stripable); + return boost::shared_ptr(new NoneSubview (mcp, subview_stripable)); } }