summaryrefslogtreecommitdiffstats
path: root/src/Reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Reactor.cpp')
-rw-r--r--src/Reactor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Reactor.cpp b/src/Reactor.cpp
index 7163539..8bb89d3 100644
--- a/src/Reactor.cpp
+++ b/src/Reactor.cpp
@@ -191,11 +191,11 @@ Reactor::module_name(const ClientID& client)
{
// Note that split modules always have the same name
- if (CanvasModule* mod = find_module(client, SignalDirection::input)) {
+ if (const CanvasModule* mod = find_module(client, SignalDirection::input)) {
return mod->name();
}
- if (CanvasModule* mod = find_module(client, SignalDirection::output)) {
+ if (const CanvasModule* mod = find_module(client, SignalDirection::output)) {
return mod->name();
}