summaryrefslogtreecommitdiffstats
path: root/src/server/events/Connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Connect.cpp')
-rw-r--r--src/server/events/Connect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index 1ce8f5a1..d27e1e3b 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -105,7 +105,7 @@ Connect::pre_process(PreProcessContext& ctx)
return Event::pre_process_done(Status::EXISTS, _msg.head);
}
- _arc = SPtr<ArcImpl>(new ArcImpl(tail_output, _head));
+ _arc = std::make_shared<ArcImpl>(tail_output, _head);
/* Need to be careful about graph port arcs here and adding a
block's parent as a dependant/provider, or adding a graph as its own