diff --git a/fairmq/tools/Process.cxx b/fairmq/tools/Process.cxx index 13e769bb5..ee90186fc 100644 --- a/fairmq/tools/Process.cxx +++ b/fairmq/tools/Process.cxx @@ -29,7 +29,7 @@ class LinePrinter public: LinePrinter(stringstream& out, string prefix) : fOut(out) - , fPrefix(move(prefix)) + , fPrefix(std::move(prefix)) {} // prints line with prefix on both cout (thread-safe) and output stream diff --git a/fairmq/zeromq/Socket.h b/fairmq/zeromq/Socket.h index 2167600b2..bce1038e7 100644 --- a/fairmq/zeromq/Socket.h +++ b/fairmq/zeromq/Socket.h @@ -225,7 +225,7 @@ class Socket final : public fair::mq::Socket int nbytes = zmq_msg_recv(static_cast(part.get())->GetMessage(), fSocket, flags); if (nbytes >= 0) { static_cast(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()) {