summaryrefslogtreecommitdiffstats
path: root/src/Store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Store.cpp')
-rw-r--r--src/Store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Store.cpp b/src/Store.cpp
index 87a0315e..fda93474 100644
--- a/src/Store.cpp
+++ b/src/Store.cpp
@@ -29,7 +29,7 @@ Store::add(Node* o)
return;
}
- insert(make_pair(o->path(), o));
+ insert(make_pair(o->path(), SharedPtr<Node>(o)));
for (uint32_t i = 0; i < o->num_ports(); ++i) {
add(o->port(i));