summaryrefslogtreecommitdiffstats
path: root/src/server/ControlBindings.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 14:28:50 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commit6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea (patch)
treee541fcd73c05f2338840f1fcfa36dcb6a0d8895d /src/server/ControlBindings.cpp
parent7fe8260c6c0a53fdc9ba04130c577122402a82ec (diff)
downloadingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.tar.gz
ingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.tar.bz2
ingen-6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea.zip
Make member functions const or static where possible
Diffstat (limited to 'src/server/ControlBindings.cpp')
-rw-r--r--src/server/ControlBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp
index 8ab4aef7..4664b590 100644
--- a/src/server/ControlBindings.cpp
+++ b/src/server/ControlBindings.cpp
@@ -340,7 +340,7 @@ void
ControlBindings::set_port_value(RunContext& context,
PortImpl* port,
Type type,
- int16_t value)
+ int16_t value) const
{
float min = 0.0f;
float max = 1.0f;