summaryrefslogtreecommitdiff
path: root/node/Topology.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Topology.hpp')
-rw-r--r--node/Topology.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Topology.hpp b/node/Topology.hpp
index 7f33e92b..63946a32 100644
--- a/node/Topology.hpp
+++ b/node/Topology.hpp
@@ -119,7 +119,7 @@ public:
Mutex::Lock _l(_paths_m);
SharedPtr<Path> &p = _paths[Path::HashKey(l,r)];
if (!p)
- p.setToUnsafe(new Path(l,r));
+ p.set(new Path(l,r));
return p;
}