Brett 2024-09-03 22:38:45 -04:00
parent 47b3821b0e
commit 3a31b2794c
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ namespace blt::gp
{ {
#ifdef BLT_TRACK_ALLOCATIONS #ifdef BLT_TRACK_ALLOCATIONS
tracker.allocate(bytes); tracker.allocate(bytes);
std::cout << "Hey our aligned allocator allocated " << bytes << " bytes!\n"; // std::cout << "Hey our aligned allocator allocated " << bytes << " bytes!\n";
#endif #endif
return std::aligned_alloc(8, bytes); return std::aligned_alloc(8, bytes);
} }
@ -105,7 +105,7 @@ namespace blt::gp
return; return;
#ifdef BLT_TRACK_ALLOCATIONS #ifdef BLT_TRACK_ALLOCATIONS
tracker.deallocate(bytes); tracker.deallocate(bytes);
std::cout << "[Hey our aligned allocator deallocated " << bytes << " bytes!]\n"; // std::cout << "[Hey our aligned allocator deallocated " << bytes << " bytes!]\n";
#else #else
(void) bytes; (void) bytes;
#endif #endif