diff options
Diffstat (limited to 'src/gui/Connection.hpp')
-rw-r--r-- | src/gui/Connection.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/Connection.hpp b/src/gui/Connection.hpp index 6ff6365f..fb30a7c0 100644 --- a/src/gui/Connection.hpp +++ b/src/gui/Connection.hpp @@ -38,15 +38,15 @@ class Connection : public FlowCanvas::Connection { public: Connection(boost::shared_ptr<FlowCanvas::Canvas> canvas, - boost::shared_ptr<ConnectionModel> model, + boost::shared_ptr<const ConnectionModel> model, boost::shared_ptr<FlowCanvas::Connectable> src, boost::shared_ptr<FlowCanvas::Connectable> dst, uint32_t color); - SharedPtr<ConnectionModel> model() const { return _connection_model; } + SharedPtr<const ConnectionModel> model() const { return _connection_model; } private: - SharedPtr<ConnectionModel> _connection_model; + SharedPtr<const ConnectionModel> _connection_model; }; } // namespace GUI |