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 /src/server/NodeImpl.hpp | |
parent | 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff) | |
download | ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2 ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip |
Use override specifiers
Diffstat (limited to 'src/server/NodeImpl.hpp')
-rw-r--r-- | src/server/NodeImpl.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/NodeImpl.hpp b/src/server/NodeImpl.hpp index 9a9f1c95..0ac889e0 100644 --- a/src/server/NodeImpl.hpp +++ b/src/server/NodeImpl.hpp @@ -49,13 +49,13 @@ class RunContext; class NodeImpl : public Node { public: - const Raul::Symbol& symbol() const { return _symbol; } + const Raul::Symbol& symbol() const override { return _symbol; } - Node* graph_parent() const { return _parent; } - NodeImpl* parent() const { return _parent; } + Node* graph_parent() const override { return _parent; } + NodeImpl* parent() const { return _parent; } /** Rename */ - virtual void set_path(const Raul::Path& new_path) { + void set_path(const Raul::Path& new_path) override { _path = new_path; const char* const new_sym = new_path.symbol(); if (new_sym[0] != '\0') { @@ -64,12 +64,12 @@ public: set_uri(path_to_uri(new_path)); } - const Atom& get_property(const URI& key) const; + const Atom& get_property(const URI& key) const override; /** The Graph this object is a child of. */ virtual GraphImpl* parent_graph() const; - const Raul::Path& path() const { return _path; } + const Raul::Path& path() const override { return _path; } /** Prepare for a new (external) polyphony value. * |