pages
parent
47b3821b0e
commit
3a31b2794c
|
@ -94,7 +94,7 @@ namespace blt::gp
|
|||
{
|
||||
#ifdef BLT_TRACK_ALLOCATIONS
|
||||
tracker.allocate(bytes);
|
||||
std::cout << "Hey our aligned allocator allocated " << bytes << " bytes!\n";
|
||||
// std::cout << "Hey our aligned allocator allocated " << bytes << " bytes!\n";
|
||||
#endif
|
||||
return std::aligned_alloc(8, bytes);
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ namespace blt::gp
|
|||
return;
|
||||
#ifdef BLT_TRACK_ALLOCATIONS
|
||||
tracker.deallocate(bytes);
|
||||
std::cout << "[Hey our aligned allocator deallocated " << bytes << " bytes!]\n";
|
||||
// std::cout << "[Hey our aligned allocator deallocated " << bytes << " bytes!]\n";
|
||||
#else
|
||||
(void) bytes;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue