summaryrefslogtreecommitdiffstats
path: root/src/server/internals
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 19:06:25 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 19:06:25 +0200
commit04b4d70f38402b1e4e4751157f42eb558bd60f9c (patch)
tree7046ce56d1fb498f5e8720c5fb59ae9895fecb39 /src/server/internals
parent394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff)
downloadingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz
ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2
ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip
Use override specifiers
Diffstat (limited to 'src/server/internals')
-rw-r--r--src/server/internals/BlockDelay.hpp4
-rw-r--r--src/server/internals/Controller.hpp4
-rw-r--r--src/server/internals/Note.hpp6
-rw-r--r--src/server/internals/Time.hpp2
-rw-r--r--src/server/internals/Trigger.hpp4
5 files changed, 10 insertions, 10 deletions
diff --git a/src/server/internals/BlockDelay.hpp b/src/server/internals/BlockDelay.hpp
index a4a27383..0e8fadce 100644
--- a/src/server/internals/BlockDelay.hpp
+++ b/src/server/internals/BlockDelay.hpp
@@ -43,9 +43,9 @@ public:
~BlockDelayNode();
- void activate(BufferFactory& bufs);
+ void activate(BufferFactory& bufs) override;
- void run(RunContext& context);
+ void run(RunContext& context) override;
static InternalPlugin* internal_plugin(URIs& uris);
diff --git a/src/server/internals/Controller.hpp b/src/server/internals/Controller.hpp
index 9d1bbf7d..d138e690 100644
--- a/src/server/internals/Controller.hpp
+++ b/src/server/internals/Controller.hpp
@@ -45,11 +45,11 @@ public:
GraphImpl* parent,
SampleRate srate);
- void run(RunContext& context);
+ void run(RunContext& context) override;
bool control(RunContext& context, uint8_t control_num, uint8_t val, FrameTime time);
- void learn() { _learning = true; }
+ void learn() override { _learning = true; }
static InternalPlugin* internal_plugin(URIs& uris);
diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp
index 5c1b24c4..fb935179 100644
--- a/src/server/internals/Note.hpp
+++ b/src/server/internals/Note.hpp
@@ -45,10 +45,10 @@ public:
GraphImpl* parent,
SampleRate srate);
- bool prepare_poly(BufferFactory& bufs, uint32_t poly);
- bool apply_poly(RunContext& context, uint32_t poly);
+ bool prepare_poly(BufferFactory& bufs, uint32_t poly) override;
+ bool apply_poly(RunContext& context, uint32_t poly) override;
- void run(RunContext& context);
+ void run(RunContext& context) override;
void note_on(RunContext& context, uint8_t note_num, uint8_t velocity, FrameTime time);
void note_off(RunContext& context, uint8_t note_num, FrameTime time);
diff --git a/src/server/internals/Time.hpp b/src/server/internals/Time.hpp
index b4b570f4..958cd239 100644
--- a/src/server/internals/Time.hpp
+++ b/src/server/internals/Time.hpp
@@ -44,7 +44,7 @@ public:
GraphImpl* parent,
SampleRate srate);
- void run(RunContext& context);
+ void run(RunContext& context) override;
static InternalPlugin* internal_plugin(URIs& uris);
diff --git a/src/server/internals/Trigger.hpp b/src/server/internals/Trigger.hpp
index ae661751..98d50f2c 100644
--- a/src/server/internals/Trigger.hpp
+++ b/src/server/internals/Trigger.hpp
@@ -48,12 +48,12 @@ public:
GraphImpl* parent,
SampleRate srate);
- void run(RunContext& context);
+ void run(RunContext& context) override;
bool note_on(RunContext& context, uint8_t note_num, uint8_t velocity, FrameTime time);
bool note_off(RunContext& context, uint8_t note_num, FrameTime time);
- void learn() { _learning = true; }
+ void learn() override { _learning = true; }
static InternalPlugin* internal_plugin(URIs& uris);