提交 5e28464e authored 作者: José Luis Millán's avatar José Luis Millán

apply qualified auto

上级 57912b66
......@@ -26,7 +26,7 @@ namespace RTC
// Get the header.
auto* body = const_cast<SsrcInfo::Body*>(reinterpret_cast<const SsrcInfo::Body*>(data));
auto ssrcInfo = new DelaySinceLastRr::SsrcInfo(body);
auto* ssrcInfo = new DelaySinceLastRr::SsrcInfo(body);
return ssrcInfo;
}
......
......@@ -65,7 +65,7 @@ namespace RTC
uint16_t msgClass = ((data[0] & 0x01) << 1) | ((data[1] & 0x10) >> 4);
// Create a new StunPacket (data + 8 points to the received TransactionID field).
auto packet = new StunPacket(
auto* packet = new StunPacket(
static_cast<Class>(msgClass), static_cast<Method>(msgMethod), data + 8, data, len);
/*
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论