From 407099d7a30d01799824c7d4f341e0095e752919 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 22:05:51 +0200 Subject: WIP: Fix unused parameter warnings --- src/server/BlockImpl.hpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/server/BlockImpl.hpp') 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, const LilvState* state) {} + virtual void apply_state(const UPtr&, const LilvState*) {} /** Save current state as preset. */ - virtual boost::optional - save_preset(const URI& bundle, - const Properties& props) { return boost::optional(); } + virtual boost::optional save_preset(const URI&, const Properties&) + { + return boost::optional(); + } /** Learn the next incoming MIDI event (for internals) */ virtual void learn() {} -- cgit v1.2.1