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

@@ -155,7 +155,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) {
@@ -191,7 +191,7 @@ class Socket final : public fair::mq::Socket
return static_cast<int>(TransferResult::error);
}
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) {