Fix the GCC build (#40)
* Make it compile with GCC. * Add GCC to CI. * Add warning to documentation about using GCC.
This commit is contained in:
committed by
GitHub
parent
0b64536be4
commit
8fcedfc290
@@ -44,6 +44,11 @@ namespace snmalloc
|
||||
|
||||
if constexpr (zero_mem == YesZero)
|
||||
zero<true>(p, size);
|
||||
else
|
||||
{
|
||||
UNUSED(p);
|
||||
UNUSED(size);
|
||||
}
|
||||
}
|
||||
|
||||
/// OS specific function for zeroing memory
|
||||
|
||||
Reference in New Issue
Block a user