diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 16:56:04 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-11 19:37:24 -0400 |
commit | 1ecbb458c9877cf18d0438449d8757fb713d46d2 (patch) | |
tree | 62696de1f35cef8188cc79abe1da3097d431f845 /src/server/ControlBindings.cpp | |
parent | 9009631bdf6d1142a13335ececbc1f78daf3fdf0 (diff) | |
download | ingen-1ecbb458c9877cf18d0438449d8757fb713d46d2.tar.gz ingen-1ecbb458c9877cf18d0438449d8757fb713d46d2.tar.bz2 ingen-1ecbb458c9877cf18d0438449d8757fb713d46d2.zip |
Make more single-argument constructors explicit
Diffstat (limited to 'src/server/ControlBindings.cpp')
-rw-r--r-- | src/server/ControlBindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index e8dd3554..e9002f99 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -249,7 +249,7 @@ ControlBindings::start_learn(PortImpl* port) ThreadManager::assert_thread(THREAD_PRE_PROCESS); Binding* b = _learn_binding.load(); if (!b) { - _learn_binding = new Binding(Type::NULL_CONTROL, port); + _learn_binding = new Binding(); } else { b->port = port; } |