summaryrefslogtreecommitdiffstats
path: root/src/shared/Builder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/Builder.cpp')
-rw-r--r--src/shared/Builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/Builder.cpp b/src/shared/Builder.cpp
index 820a26b3..0cc4e980 100644
--- a/src/shared/Builder.cpp
+++ b/src/shared/Builder.cpp
@@ -85,7 +85,7 @@ Builder::connect(SharedPtr<const GraphObject> object)
if (patch) {
for (Patch::Connections::const_iterator i = patch->connections().begin();
i != patch->connections().end(); ++i) {
- _interface.connect((*i)->src_port_path(), (*i)->dst_port_path());
+ _interface.connect(i->second->src_port_path(), i->second->dst_port_path());
}
return;
}