diff options
| -rw-r--r-- | malloclab-handout/util/mm-naive-free.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/malloclab-handout/util/mm-naive-free.h b/malloclab-handout/util/mm-naive-free.h index c618ca6..3aa06bd 100644 --- a/malloclab-handout/util/mm-naive-free.h +++ b/malloclab-handout/util/mm-naive-free.h @@ -79,6 +79,7 @@ void logger( std::format_string<Args...> fmt, Args&&... args ) void print_list() { +#ifdef OV4_VERBOSE logger("print_list: "); size_t p = (size_t)mem_heap_lo(); while (true) @@ -90,4 +91,5 @@ void print_list() p += get_size(*(size_t*)p); } loggerln(""); +#endif }
\ No newline at end of file |
