alloc/aligned/direct: deallocate should take a void pointer
This commit is contained in:
parent
578a99a6ba
commit
ccdc0b6807
@ -47,7 +47,7 @@ namespace cruft::alloc::aligned {
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
auto deallocate (u08 *ptr, std::size_t bytes, std::size_t alignment)
|
||||
auto deallocate (void *ptr, std::size_t bytes, std::size_t alignment)
|
||||
{
|
||||
(void)alignment;
|
||||
return m_successor.deallocate (ptr, bytes, m_alignment);
|
||||
@ -55,7 +55,7 @@ namespace cruft::alloc::aligned {
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
auto deallocate (u08 *ptr, std::size_t bytes)
|
||||
auto deallocate (void *ptr, std::size_t bytes)
|
||||
{
|
||||
return m_successor.deallocate (ptr, bytes, m_alignment);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user