Test more memory tracking

This commit is contained in:
Daniel James
2017-04-18 10:14:26 +01:00
parent e0054c7dd0
commit cafd236a18
3 changed files with 118 additions and 47 deletions

View File

@@ -66,6 +66,8 @@ struct memory_tracker
{
}
~memory_tracker() { BOOST_TEST(count_allocators == 0); }
void allocator_ref()
{
if (count_allocators == 0) {