mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Update return types in ofi::Socket
This commit is contained in:
parent
35c7959c53
commit
1b30f3ac14
|
@ -284,7 +284,7 @@ try {
|
|||
return size;
|
||||
} catch (const std::exception& e) {
|
||||
LOG(error) << e.what();
|
||||
return TransferResult::error;
|
||||
return static_cast<int64_t>(TransferResult::error);
|
||||
}
|
||||
|
||||
auto Socket::SendQueueReader() -> void
|
||||
|
@ -431,7 +431,7 @@ try {
|
|||
return size;
|
||||
} catch (const std::exception& e) {
|
||||
LOG(error) << e.what();
|
||||
return TransferResult::error;
|
||||
return static_cast<int>(TransferResult::error);
|
||||
}
|
||||
|
||||
auto Socket::Receive(std::vector<MessagePtr>& msgVec, const int /*timeout*/) -> int64_t
|
||||
|
@ -456,7 +456,7 @@ try {
|
|||
return size;
|
||||
} catch (const std::exception& e) {
|
||||
LOG(error) << e.what();
|
||||
return TransferResult::error;
|
||||
return static_cast<int64_t>(TransferResult::error);
|
||||
}
|
||||
|
||||
auto Socket::RecvControlQueueReader() -> void
|
||||
|
|
Loading…
Reference in New Issue
Block a user