diff options
Diffstat (limited to 'src/progs/gtk/PatchController.h')
-rw-r--r-- | src/progs/gtk/PatchController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/gtk/PatchController.h b/src/progs/gtk/PatchController.h index 553a35e1..840d5fe3 100644 --- a/src/progs/gtk/PatchController.h +++ b/src/progs/gtk/PatchController.h @@ -74,7 +74,7 @@ public: virtual void add_port(CountedPtr<PortModel> pm); virtual void remove_port(const Path& path, bool resize_module); - void connection(ConnectionModel* const cm); + void connection(CountedPtr<ConnectionModel> cm); void disconnection(const Path& src_port_path, const Path& dst_port_path); void clear(); @@ -111,7 +111,7 @@ private: void add_node(CountedPtr<NodeModel> nm); void remove_node(const string& name); - void create_connection(const ConnectionModel* cm); + void create_connection(CountedPtr<ConnectionModel> cm); PatchWindow* m_window; ///< Window currently showing this patch PatchView* m_patch_view; ///< View (canvas) of this patch |