Let single message methods also return int64_t

This commit is contained in:
Alexey Rybalchenko
2020-11-17 11:14:38 +01:00
committed by Dennis Klein
parent 9e2373b55d
commit bb1ce794b6
7 changed files with 14 additions and 14 deletions

View File

@@ -132,7 +132,7 @@ class Socket final : public fair::mq::Socket
}
}
int Send(MessagePtr& msg, const int timeout = -1) override
int64_t Send(MessagePtr& msg, const int timeout = -1) override
{
int flags = 0;
if (timeout == 0) {
@@ -162,7 +162,7 @@ class Socket final : public fair::mq::Socket
}
}
int Receive(MessagePtr& msg, const int timeout = -1) override
int64_t Receive(MessagePtr& msg, const int timeout = -1) override
{
int flags = 0;
if (timeout == 0) {