From 0c859316a3315d7f7f60b67583fa3a1a364b8565 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 Apr 2020 18:44:40 -0600 Subject: [PATCH] another attempted fix for older gcc/mingw --- libs/surfaces/mackie/subview.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)); } }