Change bind and connect socket helper functions to take string

This commit is contained in:
2021-01-19 13:02:03 +01:00
parent a3d0286250
commit ccca4225d4
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ ZmqPulseSyncReceiver::ZmqPulseSyncReceiver(
for (int i=0; i<n_modules_; i++) {
sockets_.push_back(
BufferUtils::connect_socket(ctx_, detector_name, i));
BufferUtils::connect_socket(ctx_, detector_name, to_string(i)));
}
}