diff --git a/src/snmalloc/mem/corealloc.h b/src/snmalloc/mem/corealloc.h index aca108a6..288cbbf7 100644 --- a/src/snmalloc/mem/corealloc.h +++ b/src/snmalloc/mem/corealloc.h @@ -516,7 +516,7 @@ namespace snmalloc auto cb = [this, domesticate, &need_post]( capptr::Alloc msg) SNMALLOC_FAST_PATH_LAMBDA { auto& entry = - Config::Backend::template get_metaentry(snmalloc::address_cast(msg)); + Config::Backend::get_metaentry(snmalloc::address_cast(msg)); handle_dealloc_remote(entry, msg, need_post, domesticate); return true; }; @@ -744,7 +744,7 @@ namespace snmalloc // PagemapEntry-s seen here are expected to have meaningful Remote // pointers dealloc_local_object( - p, Config::Backend::template get_metaentry(snmalloc::address_cast(p))); + p, Config::Backend::get_metaentry(snmalloc::address_cast(p))); } SNMALLOC_FAST_PATH static bool dealloc_local_object_fast( diff --git a/src/snmalloc/mem/localalloc.h b/src/snmalloc/mem/localalloc.h index 9fad2601..5c587bfd 100644 --- a/src/snmalloc/mem/localalloc.h +++ b/src/snmalloc/mem/localalloc.h @@ -777,7 +777,7 @@ namespace snmalloc // entry for the first chunk of memory, that states it represents a // large object, so we can pull the check for null off the fast path. const PagemapEntry& entry = - Config::Backend::template get_metaentry(address_cast(p_raw)); + Config::Backend::get_metaentry(address_cast(p_raw)); return sizeclass_full_to_size(entry.get_sizeclass()); #endif @@ -828,7 +828,7 @@ namespace snmalloc typename Config::ClientMeta::DataRef get_client_meta_data(void* p) { const PagemapEntry& entry = - Config::Backend::template get_metaentry(address_cast(p)); + Config::Backend::get_metaentry(address_cast(p)); size_t index = slab_index(entry.get_sizeclass(), address_cast(p));