diff --git a/fairmq/Channel.h b/fairmq/Channel.h index 1de8bf4ef..1005092d6 100644 --- a/fairmq/Channel.h +++ b/fairmq/Channel.h @@ -438,7 +438,7 @@ class Channel } void CheckSendCompatibility(Parts& parts) { CheckSendCompatibility(parts.fParts); } - void CheckSendCompatibility(std::vector& msgVec) + void CheckSendCompatibility(Parts::container & msgVec) { for (auto& msg : msgVec) { if (fTransportType != msg->GetType()) { @@ -468,7 +468,7 @@ class Channel } void CheckReceiveCompatibility(Parts& parts) { CheckReceiveCompatibility(parts.fParts); } - void CheckReceiveCompatibility(std::vector& msgVec) + void CheckReceiveCompatibility(Parts::container& msgVec) { for (auto& msg : msgVec) { if (fTransportType != msg->GetType()) { diff --git a/fairmq/Socket.h b/fairmq/Socket.h index 4c0dcd918..eb4c6246c 100644 --- a/fairmq/Socket.h +++ b/fairmq/Socket.h @@ -52,8 +52,8 @@ struct Socket virtual int64_t Send(MessagePtr& msg, int timeout = -1) = 0; virtual int64_t Receive(MessagePtr& msg, int timeout = -1) = 0; - virtual int64_t Send(std::vector>& msgVec, int timeout = -1) = 0; - virtual int64_t Receive(std::vector>& msgVec, int timeout = -1) = 0; + virtual int64_t Send(Parts::container& msgVec, int timeout = -1) = 0; + virtual int64_t Receive(Parts::container & msgVec, int timeout = -1) = 0; virtual int64_t Send(Parts& parts, int timeout = -1) { return Send(parts.fParts, timeout); } virtual int64_t Receive(Parts& parts, int timeout = -1) { return Receive(parts.fParts, timeout); } diff --git a/fairmq/shmem/Socket.h b/fairmq/shmem/Socket.h index 5aa579e5f..2daa6fd10 100644 --- a/fairmq/shmem/Socket.h +++ b/fairmq/shmem/Socket.h @@ -200,7 +200,7 @@ class Socket final : public fair::mq::Socket } } - int64_t Send(std::vector& msgVec, int timeout = -1) override + int64_t Send(Parts::container& msgVec, int timeout = -1) override { int flags = 0; if (timeout == 0) { @@ -260,7 +260,7 @@ class Socket final : public fair::mq::Socket return static_cast(TransferCode::error); } - int64_t Receive(std::vector& msgVec, int timeout = -1) override + int64_t Receive(Parts::container& msgVec, int timeout = -1) override { int flags = 0; if (timeout == 0) { diff --git a/fairmq/zeromq/Socket.h b/fairmq/zeromq/Socket.h index bce1038e7..345df77bc 100644 --- a/fairmq/zeromq/Socket.h +++ b/fairmq/zeromq/Socket.h @@ -154,7 +154,7 @@ class Socket final : public fair::mq::Socket } } - int64_t Send(std::vector>& msgVec, int timeout = -1) override + int64_t Send(Parts::container& msgVec, int timeout = -1) override { int flags = 0; if (timeout == 0) { @@ -206,7 +206,7 @@ class Socket final : public fair::mq::Socket } } - int64_t Receive(std::vector>& msgVec, int timeout = -1) override + int64_t Receive(Parts::container& msgVec, int timeout = -1) override { int flags = 0; if (timeout == 0) {