diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 72c37b12..bc623950 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -40,7 +40,7 @@ namespace GUI { ArtVpathDash* Port::_dash; -SharedPtr<Port> +Port* Port::create(FlowCanvas::Module& module, SharedPtr<const PortModel> pm, bool human_name, @@ -57,7 +57,7 @@ Port::create(FlowCanvas::Module& module, label = parent->plugin_model()->port_human_name(pm->index()); } } - return SharedPtr<Port>(new Port(module, pm, label, flip)); + return new Port(module, pm, label, flip); } /** @a flip Make an input port appear as an output port, and vice versa. |