diff --git a/src/snmalloc/aal/aal.h b/src/snmalloc/aal/aal.h index ec0acce..3ee0d91 100644 --- a/src/snmalloc/aal/aal.h +++ b/src/snmalloc/aal/aal.h @@ -244,7 +244,7 @@ namespace snmalloc using Aal = AAL_Generic>; #endif - template + template constexpr static bool aal_supports = (AAL::aal_features & F) == F; /* diff --git a/src/snmalloc/aal/aal_concept.h b/src/snmalloc/aal/aal_concept.h index 6269d96..4fa0896 100644 --- a/src/snmalloc/aal/aal_concept.h +++ b/src/snmalloc/aal/aal_concept.h @@ -14,7 +14,7 @@ namespace snmalloc * machine word size, and an upper bound on the address space size */ template - concept ConceptAAL_static_members = requires() + concept IsAAL_static_members = requires() { typename std::integral_constant; typename std::integral_constant; @@ -26,7 +26,7 @@ namespace snmalloc * AALs provide a prefetch operation. */ template - concept ConceptAAL_prefetch = requires(void* ptr) + concept IsAAL_prefetch = requires(void* ptr) { { AAL::prefetch(ptr) @@ -38,7 +38,7 @@ namespace snmalloc * AALs provide a notion of high-precision timing. */ template - concept ConceptAAL_tick = requires() + concept IsAAL_tick = requires() { { AAL::tick() @@ -47,7 +47,7 @@ namespace snmalloc }; template - concept ConceptAAL_capptr_methods = + concept IsAAL_capptr_methods = requires(capptr::Chunk auth, capptr::AllocFull ret, size_t sz) { /** @@ -62,9 +62,8 @@ namespace snmalloc }; template - concept ConceptAAL = - ConceptAAL_static_members&& ConceptAAL_prefetch&& - ConceptAAL_tick&& ConceptAAL_capptr_methods; + concept IsAAL = IsAAL_static_members&& IsAAL_prefetch&& + IsAAL_tick&& IsAAL_capptr_methods; } // namespace snmalloc #endif