diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 22:05:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 22:05:51 +0200 |
commit | 407099d7a30d01799824c7d4f341e0095e752919 (patch) | |
tree | dfbfd05e00ebf98c625fb00c7bc2075077273221 /src/server/BlockImpl.hpp | |
parent | e0e437c0fd970103685db2f1d0c83a9c461ad87f (diff) | |
download | ingen-407099d7a30d01799824c7d4f341e0095e752919.tar.gz ingen-407099d7a30d01799824c7d4f341e0095e752919.tar.bz2 ingen-407099d7a30d01799824c7d4f341e0095e752919.zip |
WIP: Fix unused parameter warningsfix-unused-parameter-warnings
Diffstat (limited to 'src/server/BlockImpl.hpp')
-rw-r--r-- | src/server/BlockImpl.hpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/server/BlockImpl.hpp b/src/server/BlockImpl.hpp index 34045b6d..52ba54dd 100644 --- a/src/server/BlockImpl.hpp +++ b/src/server/BlockImpl.hpp @@ -88,9 +88,9 @@ public: virtual void deactivate(); /** Duplicate this Node. */ - virtual BlockImpl* duplicate(Engine& engine, - const Raul::Symbol& symbol, - GraphImpl* parent) { return nullptr; } + virtual BlockImpl* duplicate(Engine&, const Raul::Symbol&, GraphImpl*) { + return nullptr; + } /** Return true iff this block is activated */ bool activated() const { return _activated; } @@ -102,15 +102,16 @@ public: void set_enabled(bool e) { _enabled = e; } /** Load a preset from the world for this block. */ - virtual LilvState* load_preset(const URI& uri) { return nullptr; } + virtual LilvState* load_preset(const URI&) { return nullptr; } /** Restore `state`. */ - virtual void apply_state(const UPtr<Worker>& worker, const LilvState* state) {} + virtual void apply_state(const UPtr<Worker>&, const LilvState*) {} /** Save current state as preset. */ - virtual boost::optional<Resource> - save_preset(const URI& bundle, - const Properties& props) { return boost::optional<Resource>(); } + virtual boost::optional<Resource> save_preset(const URI&, const Properties&) + { + return boost::optional<Resource>(); + } /** Learn the next incoming MIDI event (for internals) */ virtual void learn() {} |