Fixed broken tests

This commit is contained in:
Victor Olin 2023-02-28 16:01:39 +01:00
parent 0b0344be69
commit 5e52de10bd
7 changed files with 29 additions and 98 deletions

View file

@ -9,11 +9,11 @@ struct Obj {
};
int main() {
auto heap = GC::Heap::the2();
auto heap = GC::Heap::debug_the();
std::cout << "heap:\t" << heap << std::endl;
auto obj = static_cast<Obj *>(heap->alloc(sizeof(Obj)));
auto obj = static_cast<Obj *>(GC::Heap::alloc(sizeof(Obj)));
std::cout << "obj: \t" << obj << std::endl;