Przeglądaj źródła

LibJS: Fix broken dbgln_if(HEAP_DEBUG)

Andreas Kling 4 lat temu
rodzic
commit
cfe3895991
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
     }