diff --git a/src/ice_transport.cpp b/src/ice_transport.cpp index ab002f93ef9a736a092b9d3764f3c61345b2551e..293ba0864ebcaf257b45439321e34c9120f53ed4 100644 --- a/src/ice_transport.cpp +++ b/src/ice_transport.cpp @@ -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);