summaryrefslogtreecommitdiff
path: root/zen/crc.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/crc.h')
-rw-r--r--zen/crc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/crc.h b/zen/crc.h
index a11158d7..b617bdd0 100644
--- a/zen/crc.h
+++ b/zen/crc.h
@@ -38,7 +38,7 @@ uint32_t getCrc32(ByteIterator first, ByteIterator last)
static_assert(sizeof(typename std::iterator_traits<ByteIterator>::value_type) == 1, "");
boost::crc_32_type result;
if (first != last)
- result.process_bytes(&*first, last - first);
+ result.process_bytes(&*first, last - first);
auto rv = result.checksum();
static_assert(sizeof(rv) == sizeof(uint32_t), "");
return rv;
bgstack15