Fix cpplint errors in locations that are already being checked
Otherwise cpplint will trigger during presubmit for unrelated changes in these files. BUG=webrtc:5149 NOTRY=True Review-Url: https://codereview.webrtc.org/2767393003 Cr-Commit-Position: refs/heads/master@{#17371}
This commit is contained in:
@ -47,7 +47,7 @@ constexpr uint8_t ByteMaskString(char c, const char (&str)[9]) {
|
||||
// either 0 or 1.
|
||||
class BitPattern {
|
||||
public:
|
||||
constexpr BitPattern(const char (&str)[9])
|
||||
explicit constexpr BitPattern(const char (&str)[9])
|
||||
: mask_(~ByteMaskString('x', str)),
|
||||
masked_value_(ByteMaskString('1', str)) {}
|
||||
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <utility>
|
||||
|
||||
#include "webrtc/base/checks.h"
|
||||
#include "webrtc/base/logging.h"
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_packet_history.h"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
|
||||
#include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h"
|
||||
|
||||
@ -46,7 +46,8 @@ class TestVCMJitterEstimator : public ::testing::Test {
|
||||
// Generates some simple test data in the form of a sawtooth wave.
|
||||
class ValueGenerator {
|
||||
public:
|
||||
ValueGenerator(int32_t amplitude) : amplitude_(amplitude), counter_(0) {}
|
||||
explicit ValueGenerator(int32_t amplitude)
|
||||
: amplitude_(amplitude), counter_(0) {}
|
||||
virtual ~ValueGenerator() {}
|
||||
|
||||
int64_t Delay() { return ((counter_ % 11) - 5) * amplitude_; }
|
||||
@ -157,4 +158,4 @@ TEST_F(TestVCMJitterEstimator, TestConvergence) {
|
||||
EXPECT_NE(low_rate_iterations, 0);
|
||||
EXPECT_LE(low_rate_iterations, regular_iterations);
|
||||
}
|
||||
}
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user