diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 17:08:51 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | 4ca52683ce01f833c552aa62dd80a6a3e48e785c (patch) | |
tree | 3de2448e635799286265b3e74605bac51df957c0 /src/server/events | |
parent | 1953452f3dc0c919b17f6f1ee555f5642480db44 (diff) | |
download | ingen-4ca52683ce01f833c552aa62dd80a6a3e48e785c.tar.gz ingen-4ca52683ce01f833c552aa62dd80a6a3e48e785c.tar.bz2 ingen-4ca52683ce01f833c552aa62dd80a6a3e48e785c.zip |
Cleanup: Use std::make_shared
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Connect.cpp | 2 |
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 |