修复编译警告

This commit is contained in:
xia-chu
2025-08-09 15:42:28 +08:00
parent d2e099bd23
commit 57fede9508
13 changed files with 36 additions and 36 deletions

View File

@@ -298,7 +298,7 @@ string RtpExt::dumpString() const {
break;
}
}
return std::move(printer);
return printer;
}
//https://tools.ietf.org/html/rfc6464

View File

@@ -174,7 +174,7 @@ string RtcSdpBase::toString() const {
for (auto &item : items) {
printer << item->getKey() << "=" << item->toString() << "\r\n";
}
return std::move(printer);
return printer;
}
RtpDirection RtcSdpBase::getDirection() const {
@@ -307,7 +307,7 @@ string RtcSessionSdp::toString() const {
printer << media.toString();
}
return std::move(printer);
return printer;
}
//////////////////////////////////////////////////////////////////////////////////////////