Commit c02a8fd3 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ice: don't perform unnecessary move

Change-Id: Id9176818cdc0162e4ac689a34c8927aadba4fd7b
parent 38ab04eb
......@@ -372,8 +372,8 @@ IceTransport::Impl::initIceInstance(const IceTransportOptions& options)
streamsCount_ = options.streamsCount;
compCountPerStream_ = options.compCountPerStream;
compCount_ = streamsCount_ * compCountPerStream_;
compIO_ = std::move(std::vector<ComponentIO>(compCount_));
peerChannels_ = std::move(std::vector<PeerChannel>(compCount_));
compIO_ = std::vector<ComponentIO>(compCount_);
peerChannels_ = std::vector<PeerChannel>(compCount_);
iceDefaultRemoteAddr_.reserve(compCount_);
initiatorSession_ = options.master;
accountLocalAddr_ = std::move(options.accountLocalAddr);
......
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