diff options
author | 2020-01-31 03:46:27 +0100 | |
---|---|---|
committer | 2020-01-30 21:46:27 -0500 | |
commit | dfaf9dd5bcf354f09fde7573b7042bb63d84fad0 (patch) | |
tree | d018f200f2077123b6e0971499b1de213577ded4 /src/lib/util/hashing.cpp | |
parent | 4a102057779ece1b11431ff0b7787249ce0ad3ad (diff) |
fixed some modernize-use-auto clang-tidy warnings (nw) (#6238)
Diffstat (limited to 'src/lib/util/hashing.cpp')
-rw-r--r-- | src/lib/util/hashing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/hashing.cpp b/src/lib/util/hashing.cpp index 448cdc5d6ec..a5946f1ace8 100644 --- a/src/lib/util/hashing.cpp +++ b/src/lib/util/hashing.cpp @@ -284,7 +284,7 @@ void crc16_creator::append(const void *data, uint32_t length) 0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0 }; - const uint8_t *src = reinterpret_cast<const uint8_t *>(data); + const auto *src = reinterpret_cast<const uint8_t *>(data); // fetch the current value into a local and rip through the source data uint16_t crc = m_accum.m_raw; |