diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 19:06:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 19:06:25 +0200 |
commit | 04b4d70f38402b1e4e4751157f42eb558bd60f9c (patch) | |
tree | 7046ce56d1fb498f5e8720c5fb59ae9895fecb39 /ingen/client/PortModel.hpp | |
parent | 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff) | |
download | ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2 ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip |
Use override specifiers
Diffstat (limited to 'ingen/client/PortModel.hpp')
-rw-r--r-- | ingen/client/PortModel.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp index a544b00b..fcb46c4f 100644 --- a/ingen/client/PortModel.hpp +++ b/ingen/client/PortModel.hpp @@ -40,7 +40,7 @@ class INGEN_API PortModel : public ObjectModel public: enum class Direction { INPUT, OUTPUT }; - GraphType graph_type() const { return Node::GraphType::PORT; } + GraphType graph_type() const override { return Node::GraphType::PORT; } bool supports(const URIs::Quark& value_type) const; @@ -63,7 +63,7 @@ public: inline bool operator==(const PortModel& pm) const { return (path() == pm.path()); } - void on_property(const URI& uri, const Atom& value); + void on_property(const URI& uri, const Atom& value) override; // Signals INGEN_SIGNAL(value_changed, void, const Atom&); @@ -82,10 +82,10 @@ private: , _direction(dir) {} - void add_child(SPtr<ObjectModel> c) { throw; } - bool remove_child(SPtr<ObjectModel> c) { throw; } + void add_child(SPtr<ObjectModel> c) override { throw; } + bool remove_child(SPtr<ObjectModel> c) override { throw; } - void set(SPtr<ObjectModel> model); + void set(SPtr<ObjectModel> model) override; uint32_t _index; Direction _direction; |