diff options
Diffstat (limited to 'lib/tst')
-rw-r--r-- | lib/tst/linked_list_allocator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tst/linked_list_allocator.cc b/lib/tst/linked_list_allocator.cc index f3af8e2..280a6d5 100644 --- a/lib/tst/linked_list_allocator.cc +++ b/lib/tst/linked_list_allocator.cc @@ -6,9 +6,9 @@ namespace libk { #include "../stdlib/linked_list_allocator.c" std::ostream & -operator<<(std::ostream &os, const Chunk &begin) +operator<<(std::ostream &os, const Chunk &b) { - for (const Chunk *iter = &begin; iter != nullptr; iter = iter->next) { + for (const Chunk *iter = &b; iter != nullptr; iter = iter->next) { os << iter << " used=" << iter->used << " size=" << std::setw(4) << iter->size << " next=" << iter->next << std::endl; } |