Remove unneeded template. (#687)
This commit is contained in:
committed by
GitHub
parent
43ad730c29
commit
fe3fed4414
@@ -516,7 +516,7 @@ namespace snmalloc
|
||||
auto cb = [this, domesticate, &need_post](
|
||||
capptr::Alloc<RemoteMessage> 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(
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user