diff --git a/src/snmalloc/mem/backend_wrappers.h b/src/snmalloc/mem/backend_wrappers.h index a16b7e8..e26cc22 100644 --- a/src/snmalloc/mem/backend_wrappers.h +++ b/src/snmalloc/mem/backend_wrappers.h @@ -86,14 +86,12 @@ namespace snmalloc { static_assert( !detail::has_domesticate(0) || - (detail::has_domesticate(0) && - Backend::Options.HasDomesticate), + Backend::Options.HasDomesticate, "Back end provides domesticate function but opts out of using it "); static_assert( detail::has_domesticate(0) || - !(detail::has_domesticate(0) && - Backend::Options.HasDomesticate), + !Backend::Options.HasDomesticate, "Back end does not provide capptr_domesticate and requests its use"); if constexpr (Backend::Options.HasDomesticate) {