Unverified 提交 f7de6a20 authored 作者: José Luis Millán's avatar José Luis Millán 提交者: GitHub

C++: remove unused include directives (#1309)

上级 5caabfd7
......@@ -3,7 +3,6 @@
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include <cstdlib> // std::abort()
/* Static variables. */
......
......@@ -3,7 +3,6 @@
#include "RTC/ActiveSpeakerObserver.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
namespace RTC
......
......@@ -4,10 +4,8 @@
#include "RTC/AudioLevelObserver.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
#include <cmath> // std::lround()
#include <map>
namespace RTC
{
......
......@@ -5,8 +5,6 @@
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include <iterator> // std::ostream_iterator
#include <sstream> // std::ostringstream
namespace RTC
{
......
......@@ -5,9 +5,7 @@
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/SctpAssociation.hpp"
#include <stdexcept>
namespace RTC
{
......
......@@ -5,8 +5,6 @@
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include <stdexcept>
#include <vector>
namespace RTC
......
......@@ -3,7 +3,6 @@
#include "RTC/DirectTransport.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
namespace RTC
{
......
#define MS_CLASS "RTC::IceServer"
// #define MS_LOG_DEV_LEVEL 3
#include <utility>
#include "Logger.hpp"
#include "RTC/IceServer.hpp"
#include "Logger.hpp"
namespace RTC
{
......
#include "FBS/consumer.h"
#define MS_CLASS "RTC::PipeConsumer"
// #define MS_LOG_DEV_LEVEL 3
#include "DepLibUV.hpp"
#include "RTC/PipeConsumer.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "RTC/Codecs/Tools.hpp"
#include "RTC/PipeConsumer.hpp"
namespace RTC
{
......
......@@ -7,13 +7,10 @@
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/Codecs/Tools.hpp"
#include "RTC/RTCP/FeedbackPs.hpp"
#include "RTC/RTCP/FeedbackRtp.hpp"
#include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/XrReceiverReferenceTime.hpp"
#include <absl/container/inlined_vector.h>
#include <cstring> // std::memcpy()
#include <iterator> // std::ostream_iterator
#include <sstream> // std::ostringstream
#include <cstring> // std::memcpy()
namespace RTC
{
......
......@@ -3,7 +3,6 @@
#include "RTC/RTCP/Feedback.hpp"
#include "Logger.hpp"
#include "Utils.hpp"
#include "RTC/RTCP/FeedbackPsAfb.hpp"
#include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsLei.hpp"
......
......@@ -3,7 +3,6 @@
#include "RTC/RTCP/FeedbackPsFir.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memset()
namespace RTC
......
......@@ -3,7 +3,6 @@
#include "RTC/RTCP/FeedbackPsSli.hpp"
#include "Logger.hpp"
#include <cstring>
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/FeedbackPsTst.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,8 +3,8 @@
#include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "Logger.hpp"
#include <bitset> // std::bitset()
#include <cstring>
#include <bitset> // std::bitset()
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -4,7 +4,6 @@
#include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "Logger.hpp"
#include "Utils.hpp"
#include <cstring>
namespace RTC
{
......
......@@ -5,8 +5,7 @@
#include "Logger.hpp"
#include "Utils.hpp"
#include "RTC/SeqManager.hpp"
#include <limits> // std::numeric_limits()
#include <sstream>
#include <sstream> // std::ostringstream
namespace RTC
{
......
......@@ -4,7 +4,7 @@
#include "RTC/RTCP/ReceiverReport.hpp"
#include "Logger.hpp"
#include "Utils.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -4,7 +4,7 @@
#include "RTC/RTCP/Sdes.hpp"
#include "Logger.hpp"
#include "Utils.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/SenderReport.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/XrDelaySinceLastRr.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -3,7 +3,7 @@
#include "RTC/RTCP/XrReceiverReferenceTime.hpp"
#include "Logger.hpp"
#include <cstring>
#include <cstring> // std::memcpy
namespace RTC
{
......
......@@ -7,7 +7,6 @@
#endif
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/ActiveSpeakerObserver.hpp"
#include "RTC/AudioLevelObserver.hpp"
#include "RTC/DirectTransport.hpp"
......
......@@ -2,7 +2,6 @@
// #define MS_LOG_DEV_LEVEL 3
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "RTC/RtpDictionaries.hpp"
namespace RTC
......
......@@ -2,8 +2,6 @@
// #define MS_LOG_DEV_LEVEL 3
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
namespace RTC
......
......@@ -3,7 +3,6 @@
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
namespace RTC
......
......@@ -3,7 +3,6 @@
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
#include <exception>
#include <regex>
......
......@@ -2,7 +2,6 @@
// #define MS_LOG_DEV_LEVEL 3
#include "Logger.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
namespace RTC
......
......@@ -2,8 +2,6 @@
// #define MS_LOG_DEV_LEVEL 3
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
namespace RTC
......
......@@ -2,7 +2,6 @@
// #define MS_LOG_DEV_LEVEL 3
#include "RTC/RtpProbationGenerator.hpp"
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
......
......@@ -8,7 +8,6 @@
#include "Logger.hpp"
#include "Utils.hpp"
#include "RTC/RtpDictionaries.hpp"
#include "RTC/SeqManager.hpp"
namespace RTC
{
......
......@@ -4,7 +4,6 @@
#include "RTC/SenderBandwidthEstimator.hpp"
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include <limits>
namespace RTC
{
......
......@@ -5,7 +5,6 @@
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Utils.hpp"
#include "RTC/Codecs/Tools.hpp"
namespace RTC
......
......@@ -26,7 +26,6 @@
#include <libwebrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h> // webrtc::RtpPacketSendInfo
#include <iterator> // std::ostream_iterator
#include <map> // std::multimap
#include <sstream> // std::ostringstream
namespace RTC
{
......
......@@ -5,7 +5,6 @@
#include "RTC/TransportCongestionControlClient.hpp"
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include <libwebrtc/api/transport/network_types.h> // webrtc::TargetRateConstraints
#include <limits>
......
......@@ -20,7 +20,6 @@
#include "RTC/SrtpSession.hpp"
#include <uv.h>
#include <absl/container/flat_hash_map.h>
#include <cerrno>
#include <csignal> // sigaction()
#include <string>
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论