diff --git a/hashers.cc b/hashers.cc index cf9f2f727d..015a9122e0 100644 --- a/hashers.cc +++ b/hashers.cc @@ -38,8 +38,8 @@ concept HashUpdater = }; template -requires HashUpdater struct cryptopp_hasher::impl { + static_assert(HashUpdater); using impl_type = typename hasher_traits::impl_type; impl_type hash{};