Rename memory_manager to heap_manager

This commit is contained in:
Justin C. Miller
2019-02-18 18:58:28 -08:00
parent ec20e9f3d9
commit bbd31929ba
7 changed files with 29 additions and 29 deletions

View File

@@ -6,7 +6,7 @@
#include <stdint.h>
#include "kutil/memory.h"
#include "kutil/memory_manager.h"
#include "kutil/heap_manager.h"
#include "catch.hpp"
using namespace kutil;
@@ -35,7 +35,7 @@ TEST_CASE( "Buddy blocks tests", "[memory buddy]" )
memory = aligned_alloc(max_block, 4 * max_block);
memory_manager mm(memory, grow_callback);
heap_manager mm(memory, grow_callback);
// The ctor should have allocated an initial block
CHECK( total_alloc_size == max_block );