| Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc
|
| index 9c44547aeddac3cd491a11887af784df45aeda58..3a905ba3157e8e90880fad1e621ea1772942e704 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.cc
|
| @@ -9,8 +9,6 @@
|
| */
|
|
|
| #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h"
|
| -
|
| -#include <utility>
|
|
|
| #include "webrtc/base/checks.h"
|
| #include "webrtc/base/logging.h"
|
| @@ -139,7 +137,7 @@
|
| return true;
|
| }
|
|
|
| -bool Sdes::AddCName(uint32_t ssrc, std::string cname) {
|
| +bool Sdes::WithCName(uint32_t ssrc, const std::string& cname) {
|
| RTC_DCHECK_LE(cname.length(), 0xffu);
|
| if (chunks_.size() >= kMaxNumberOfChunks) {
|
| LOG(LS_WARNING) << "Max SDES chunks reached.";
|
| @@ -147,7 +145,7 @@
|
| }
|
| Chunk chunk;
|
| chunk.ssrc = ssrc;
|
| - chunk.cname = std::move(cname);
|
| + chunk.cname = cname;
|
| chunks_.push_back(chunk);
|
| block_length_ += ChunkSize(chunk);
|
| return true;
|
|
|