summaryrefslogtreecommitdiffstats
path: root/src/engine/events/Connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/Connect.cpp')
-rw-r--r--src/engine/events/Connect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/events/Connect.cpp b/src/engine/events/Connect.cpp
index 62e32916..18c31e03 100644
--- a/src/engine/events/Connect.cpp
+++ b/src/engine/events/Connect.cpp
@@ -76,8 +76,8 @@ Connect::pre_process()
}
if ( ! (_src_port->type() == _dst_port->type()
- || ( (_src_port->type() == DataType::CONTROL || _src_port->type() == DataType::AUDIO)
- && (_dst_port->type() == DataType::CONTROL || _dst_port->type() == DataType::AUDIO) ))) {
+ || ( (_src_port->type() == PortType::CONTROL || _src_port->type() == PortType::AUDIO)
+ && (_dst_port->type() == PortType::CONTROL || _dst_port->type() == PortType::AUDIO) ))) {
_error = TYPE_MISMATCH;
QueuedEvent::pre_process();
return;