From 04b4d70f38402b1e4e4751157f42eb558bd60f9c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 19:06:25 +0200 Subject: Use override specifiers --- ingen/client/PortModel.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ingen/client/PortModel.hpp') 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 c) { throw; } - bool remove_child(SPtr c) { throw; } + void add_child(SPtr c) override { throw; } + bool remove_child(SPtr c) override { throw; } - void set(SPtr model); + void set(SPtr model) override; uint32_t _index; Direction _direction; -- cgit v1.2.1