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/LV2Block.hpp | |
parent | 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (diff) | |
download | ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.gz ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.tar.bz2 ingen-04b4d70f38402b1e4e4751157f42eb558bd60f9c.zip |
Use override specifiers
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r-- | src/server/LV2Block.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index 27287c5e..8a362fec 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -50,35 +50,35 @@ public: bool instantiate(BufferFactory& bufs, const LilvState* state); - LilvInstance* instance() { return instance(0); } - bool save_state(const FilePath& dir) const; + LilvInstance* instance() override { return instance(0); } + bool save_state(const FilePath& dir) const override; BlockImpl* duplicate(Engine& engine, const Raul::Symbol& symbol, - GraphImpl* parent); + GraphImpl* parent) override; - 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 activate(BufferFactory& bufs); - void deactivate(); + void activate(BufferFactory& bufs) override; + void deactivate() override; LV2_Worker_Status work(uint32_t size, const void* data); - void run(RunContext& context); - void post_process(RunContext& context); + void run(RunContext& context) override; + void post_process(RunContext& context) override; - LilvState* load_preset(const URI& uri); + LilvState* load_preset(const URI& uri) override; - void apply_state(const UPtr<Worker>& worker, const LilvState* state); + void apply_state(const UPtr<Worker>& worker, const LilvState* state) override; boost::optional<Resource> save_preset(const URI& uri, - const Properties& props); + const Properties& props) override; void set_port_buffer(uint32_t voice, uint32_t port_num, BufferRef buf, - SampleCount offset); + SampleCount offset) override; static LilvState* load_state(World* world, const FilePath& path); |