浏览代码

total pointers

Ariel Manzur 9 年之前
父节点
当前提交
b406aae790
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/unix/memory_pool_static_malloc.cpp

+ 1 - 1
drivers/unix/memory_pool_static_malloc.cpp

@@ -321,7 +321,7 @@ size_t MemoryPoolStaticMalloc::get_max_usage() {
 /* Most likely available only if memory debugger was compiled in */
 int MemoryPoolStaticMalloc::get_alloc_count() {
 	
-	return 0;
+	return total_pointers;
 }
 void * MemoryPoolStaticMalloc::get_alloc_ptr(int p_alloc_idx) {