summaryrefslogtreecommitdiffstats
path: root/src/server/events/DisconnectAll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/DisconnectAll.cpp')
-rw-r--r--src/server/events/DisconnectAll.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp
index 5f0e9a5e..87df61a5 100644
--- a/src/server/events/DisconnectAll.cpp
+++ b/src/server/events/DisconnectAll.cpp
@@ -112,7 +112,7 @@ DisconnectAll::pre_process(PreProcessContext& ctx)
_impls.push_back(
new Disconnect::Impl(_engine,
_parent,
- dynamic_cast<PortImpl*>(a->tail()),
+ a->tail(),
dynamic_cast<InputPort*>(a->head())));
}
@@ -123,7 +123,7 @@ DisconnectAll::pre_process(PreProcessContext& ctx)
_impls.push_back(
new Disconnect::Impl(_engine,
parent_parent,
- dynamic_cast<PortImpl*>(a->tail()),
+ a->tail(),
dynamic_cast<InputPort*>(a->head())));
}
}