mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-17 00:10:03 -04:00
Fix checksum ctor
This commit is contained in:
parent
cde36cffc4
commit
58b75f9671
@ -156,8 +156,10 @@ checksum::checksum(algorithm alg)
|
||||
case algorithm::XXH3_64:
|
||||
impl_ = std::make_unique<checksum_xxh3_64>();
|
||||
break;
|
||||
default:
|
||||
DWARFS_CHECK(false, "unknown algorithm");
|
||||
break;
|
||||
}
|
||||
DWARFS_CHECK(false, "unknown algorithm");
|
||||
}
|
||||
|
||||
bool checksum::verify(void const* digest) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user