Commit a1eba9e6 authored by Pavel Vainerman's avatar Pavel Vainerman

Убираю лишние std::move(), в надежде на RVO

parent 42b6d296
......@@ -77,7 +77,7 @@ namespace uniset
assert(sizeof(uniset::RawDataOfTransportMessage) >= sizeof(msg));
std::memcpy(&tmsg.data, &msg, sizeof(msg));
tmsg.consumer = msg.consumer;
return std::move(tmsg);
return tmsg;
}
};
......
......@@ -670,7 +670,7 @@ namespace uniset
<< " numLostMsg=" << numLostMsg
<< endl;
return std::move(inf.str());
return inf.str();
}
// ---------------------------------------------------------------------
#ifndef DISABLE_REST_API
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment