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:
oprypin
2017-03-24 03:22:49 -07:00
committed by Commit bot
parent 1724cfbdba
commit 60c5668f1e
4 changed files with 6 additions and 3 deletions

View File

@ -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)) {}

View File

@ -12,6 +12,7 @@
#include <algorithm>
#include <limits>
#include <utility>
#include "webrtc/base/checks.h"
#include "webrtc/base/logging.h"

View File

@ -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"

View File

@ -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