mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
ice: don't perform unnecessary move
Change-Id: Id9176818cdc0162e4ac689a34c8927aadba4fd7b
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user