From cfe3895991bb812ebc23cbb47ed96a8ac1d1b49f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 25 May 2021 19:44:32 +0200 Subject: [PATCH] LibJS: Fix broken dbgln_if(HEAP_DEBUG) --- Userland/Libraries/LibJS/Heap/Heap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Heap/Heap.cpp b/Userland/Libraries/LibJS/Heap/Heap.cpp index 58513a5cf5..afeb56e41b 100644 --- a/Userland/Libraries/LibJS/Heap/Heap.cpp +++ b/Userland/Libraries/LibJS/Heap/Heap.cpp @@ -159,7 +159,7 @@ public: { if (cell.is_marked()) return; - dbgln_if(HEAP_DEBUG, " ! {}", cell); + dbgln_if(HEAP_DEBUG, " ! {}", &cell); cell.set_marked(true); cell.visit_edges(*this); }