diff --git a/gapir/cc/grpc_replay_service.cpp b/gapir/cc/grpc_replay_service.cpp index 094956e166..2aa6592497 100644 --- a/gapir/cc/grpc_replay_service.cpp +++ b/gapir/cc/grpc_replay_service.cpp @@ -171,7 +171,7 @@ GrpcReplayService::getNonReplayRequest() { auto req = std::move(mDeferredData.front()); mDeferredData.pop_front(); mCommunicationLock.unlock(); - return std::move(req); + return req; } std::unique_ptr @@ -186,7 +186,7 @@ GrpcReplayService::getReplayRequest() { auto req = std::move(mDeferredRequests.front()); mDeferredRequests.pop_front(); mCommunicationLock.unlock(); - return std::move(req); + return req; } } // namespace gapir