summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util')
-rw-r--r--src/lib/util/hashing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/hashing.h b/src/lib/util/hashing.h
index 6cd73ac1846..8a03cdf0d4c 100644
--- a/src/lib/util/hashing.h
+++ b/src/lib/util/hashing.h
@@ -164,7 +164,7 @@ public:
void append(const void *data, uint32_t length);
// finalize and compute the final digest
- crc32_t finish() { return m_accum; }
+ crc32_t finish() const { return m_accum; }
// static wrapper to just get the digest from a block
static crc32_t simple(const void *data, uint32_t length)