mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Use std::move rather than just move
Apparently: "warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]" is default in new XCode.
This commit is contained in:
committed by
Alexey Rybalchenko
parent
f732b87def
commit
b40db42196
@@ -225,7 +225,7 @@ class Socket final : public fair::mq::Socket
|
||||
int nbytes = zmq_msg_recv(static_cast<Message*>(part.get())->GetMessage(), fSocket, flags);
|
||||
if (nbytes >= 0) {
|
||||
static_cast<Message*>(part.get())->Realign();
|
||||
msgVec.push_back(move(part));
|
||||
msgVec.push_back(std::move(part));
|
||||
totalSize += nbytes;
|
||||
} else if (zmq_errno() == EAGAIN || zmq_errno() == EINTR) {
|
||||
if (fCtx.Interrupted()) {
|
||||
|
Reference in New Issue
Block a user