summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/ObjectSender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/ObjectSender.cpp')
-rw-r--r--src/libs/engine/ObjectSender.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp
index 4d0adb51..208e1333 100644
--- a/src/libs/engine/ObjectSender.cpp
+++ b/src/libs/engine/ObjectSender.cpp
@@ -54,12 +54,9 @@ ObjectSender::send_patch(ClientInterface* client, const Patch* patch, bool recur
}
// Send connections
- for (List< SharedPtr<ConnectionImpl> >::const_iterator j = patch->connections().begin();
- j != patch->connections().end(); ++j) {
-
- client->connection((*j)->src_port()->path(), (*j)->dst_port()->path());
-
- }
+ for (Patch::Connections::const_iterator j = patch->connections().begin();
+ j != patch->connections().end(); ++j)
+ client->connection((*j)->src_port_path(), (*j)->dst_port_path());
}