From 9a61e61db6d811c32a25beec8c34e790170662e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Tue, 29 Mar 2016 09:53:07 +0200 Subject: made input engine more const-correct --- plugin/drumgizmo_plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/drumgizmo_plugin.h') 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 -- cgit v1.2.3