summaryrefslogtreecommitdiffstats
path: root/src/server/ArcImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/ArcImpl.cpp')
-rw-r--r--src/server/ArcImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ArcImpl.cpp b/src/server/ArcImpl.cpp
index 591c1391..d9a2b783 100644
--- a/src/server/ArcImpl.cpp
+++ b/src/server/ArcImpl.cpp
@@ -48,7 +48,7 @@ ArcImpl::ArcImpl(PortImpl* tail, PortImpl* head)
ArcImpl::~ArcImpl()
{
if (is_linked()) {
- InputPort* iport = dynamic_cast<InputPort*>(_head);
+ auto* iport = dynamic_cast<InputPort*>(_head);
if (iport) {
iport->remove_arc(*this);
}