summaryrefslogtreecommitdiff
path: root/absl/crc/internal/crc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/crc/internal/crc.cc')
-rw-r--r--absl/crc/internal/crc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/crc/internal/crc.cc b/absl/crc/internal/crc.cc
index 337a173f..87202165 100644
--- a/absl/crc/internal/crc.cc
+++ b/absl/crc/internal/crc.cc
@@ -261,7 +261,7 @@ void CRC32::Extend(uint32_t* crc, const void* bytes, size_t length) const {
const uint8_t* e = p + length;
uint32_t l = *crc;
- auto step_one_byte = [this, &p, &l] () {
+ auto step_one_byte = [this, &p, &l]() {
int c = (l & 0xff) ^ *p++;
l = this->table0_[c] ^ (l >> 8);
};
@@ -359,7 +359,7 @@ void CRC32::Extend(uint32_t* crc, const void* bytes, size_t length) const {
void CRC32::ExtendByZeroesImpl(uint32_t* crc, size_t length,
const uint32_t zeroes_table[256],
- const uint32_t poly_table[256]) const {
+ const uint32_t poly_table[256]) {
if (length != 0) {
uint32_t l = *crc;
// For each ZEROES_BASE_LG bits in length