clean up unused usages (#421)
* clean up unused usages Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * remove names for arg pack Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * fix namespace in setup.h Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * format Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * set UNUSED as fast path Signed-off-by: SchrodingerZhu <i@zhuyi.fan>
This commit is contained in:
committed by
GitHub
parent
f731bc169b
commit
8e5514bd5a
@@ -322,9 +322,7 @@ namespace snmalloc
|
||||
template<class Alloc>
|
||||
void print(std::ostream& o, uint64_t dumpid = 0, uint64_t allocatorid = 0)
|
||||
{
|
||||
UNUSED(o);
|
||||
UNUSED(dumpid);
|
||||
UNUSED(allocatorid);
|
||||
UNUSED(o, dumpid, allocatorid);
|
||||
|
||||
CSVStream csv(&o);
|
||||
|
||||
|
||||
@@ -44,8 +44,7 @@ namespace snmalloc
|
||||
template<SNMALLOC_CONCEPT(ConceptBackendGlobals) SharedStateHandle>
|
||||
inline static void print_all_stats(void*& o, uint64_t dumpid = 0)
|
||||
{
|
||||
UNUSED(o);
|
||||
UNUSED(dumpid);
|
||||
UNUSED(o, dumpid);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user