Enable clang::find_bad_constructs for audio_coding (part 1/2).
This CL removes //build/config/clang:find_bad_constructs from the suppressed_configs list, which means that clang:find_bad_constructs is now enabled on these translation units. Bug: webrtc:9251, webrtc:163 Change-Id: I6a7d4964723a5e195189aac30a83d9e924e61dd7 Reviewed-on: https://webrtc-review.googlesource.com/89743 Reviewed-by: Oskar Sundbom <ossu@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24053}
This commit is contained in:
committed by
Commit Bot
parent
5e6dcb2e64
commit
682aac5103
@ -15,6 +15,9 @@
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
NetEqInput::PacketData::PacketData() = default;
|
||||
NetEqInput::PacketData::~PacketData() = default;
|
||||
|
||||
std::string NetEqInput::PacketData::ToString() const {
|
||||
std::stringstream ss;
|
||||
ss << "{"
|
||||
@ -34,6 +37,8 @@ TimeLimitedNetEqInput::TimeLimitedNetEqInput(std::unique_ptr<NetEqInput> input,
|
||||
start_time_ms_(input_->NextEventTime()),
|
||||
duration_ms_(duration_ms) {}
|
||||
|
||||
TimeLimitedNetEqInput::~TimeLimitedNetEqInput() = default;
|
||||
|
||||
absl::optional<int64_t> TimeLimitedNetEqInput::NextPacketTime() const {
|
||||
return ended_ ? absl::nullopt : input_->NextPacketTime();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user