Suppress what is apparently an intentional memory leak

This commit is contained in:
Andrew Noyes 2019-08-09 14:15:03 -07:00
parent a8cdcff0c2
commit fe6f2f59e0
1 changed files with 1 additions and 2 deletions

View File

@ -335,8 +335,7 @@ void fastAllocTest() {
}
t = timer();
for(int i=0; i<1000000; i++)
FastAllocator<64>::allocate();
for (int i = 0; i < 1000000; i++) (void)FastAllocator<64>::allocate();
t = timer()-t;
cout << "Allocations: " << (1/t) << "M/sec" << endl;