summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 09:53:07 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:35:47 +0200
commit9a61e61db6d811c32a25beec8c34e790170662e0 (patch)
treed1b4ccadb7906848d555cd8e48eaec2231c79b76 /plugin/drumgizmo_plugin.h
parente8b37a3c47580a9e2fa7850b6defd2b5b97530d4 (diff)
made input engine more const-correct
Diffstat (limited to 'plugin/drumgizmo_plugin.h')
-rw-r--r--plugin/drumgizmo_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index bd970f1..767060c 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -108,7 +108,7 @@ private:
public:
Input(DrumGizmoPlugin& plugin);
- bool init(Instruments& instruments) override;
+ bool init(const Instruments& instruments) override;
void setParm(const std::string& parm, const std::string& value) override;
@@ -121,7 +121,7 @@ private:
protected:
DrumGizmoPlugin& plugin;
- Instruments* instruments{nullptr};
+ const Instruments* instruments{nullptr};
};
class Output