diff options
Diffstat (limited to 'src/server/events/Connect.cpp')
-rw-r--r-- | src/server/events/Connect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp index 23a7d4b4..dda1821b 100644 --- a/src/server/events/Connect.cpp +++ b/src/server/events/Connect.cpp @@ -63,8 +63,8 @@ Connect::pre_process(PreProcessContext& ctx) return Event::pre_process_done(Status::NOT_FOUND, _msg.head); } - PortImpl* tail_output = dynamic_cast<PortImpl*>(tail); - _head = dynamic_cast<InputPort*>(head); + auto* tail_output = dynamic_cast<PortImpl*>(tail); + _head = dynamic_cast<InputPort*>(head); if (!tail_output || !_head) { return Event::pre_process_done(Status::BAD_REQUEST, _msg.head); } |