diff options
Diffstat (limited to 'src/gui/GraphPortModule.hpp')
-rw-r--r-- | src/gui/GraphPortModule.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/GraphPortModule.hpp b/src/gui/GraphPortModule.hpp index 6400b327..cad3bfc5 100644 --- a/src/gui/GraphPortModule.hpp +++ b/src/gui/GraphPortModule.hpp @@ -45,9 +45,8 @@ class PortMenu; class GraphPortModule : public Ganv::Module { public: - static GraphPortModule* create( - GraphCanvas& canvas, - SPtr<const client::PortModel> model); + static GraphPortModule* + create(GraphCanvas& canvas, const SPtr<const client::PortModel>& model); App& app() const; @@ -59,8 +58,8 @@ public: SPtr<const client::PortModel> port() const { return _model; } protected: - GraphPortModule(GraphCanvas& canvas, - SPtr<const client::PortModel> model); + GraphPortModule(GraphCanvas& canvas, + const SPtr<const client::PortModel>& model); bool show_menu(GdkEventButton* ev); void set_selected(gboolean b) override; |