فهرست منبع

LibJS: Fix broken dbgln_if(HEAP_DEBUG)

Andreas Kling 4 سال پیش
والد
کامیت
cfe3895991
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Userland/Libraries/LibJS/Heap/Heap.cpp

+ 1 - 1
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);
     }