summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphView.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/GraphView.hpp')
-rw-r--r--src/gui/GraphView.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/GraphView.hpp b/src/gui/GraphView.hpp
index 8c62ba3d..457a5f76 100644
--- a/src/gui/GraphView.hpp
+++ b/src/gui/GraphView.hpp
@@ -69,11 +69,11 @@ public:
SPtr<const client::GraphModel> graph() const { return _graph; }
Gtk::ToolItem* breadcrumb_container() const { return _breadcrumb_container; }
- static SPtr<GraphView> create(App& app,
- SPtr<const client::GraphModel> graph);
+ static SPtr<GraphView>
+ create(App& app, const SPtr<const client::GraphModel>& graph);
private:
- void set_graph(SPtr<const client::GraphModel> graph);
+ void set_graph(const SPtr<const client::GraphModel>& graph);
void process_toggled();
void poly_changed();