diff options
Diffstat (limited to 'src/server/GraphImpl.cpp')
-rw-r--r-- | src/server/GraphImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/GraphImpl.cpp b/src/server/GraphImpl.cpp index 75f4cc01..b0f6145a 100644 --- a/src/server/GraphImpl.cpp +++ b/src/server/GraphImpl.cpp @@ -117,7 +117,7 @@ GraphImpl::duplicate(Engine& engine, auto t = port_map.find(arc->tail()); auto h = port_map.find(arc->head()); if (t != port_map.end() && h != port_map.end()) { - dup->add_arc(SPtr<ArcImpl>(new ArcImpl(t->second, h->second))); + dup->add_arc(std::make_shared<ArcImpl>(t->second, h->second)); } } } |