From 0c091a5fbd598badb53f2487fa9b5ec92a2f2acb Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Thu, 31 Mar 2022 22:49:53 +0100 Subject: [PATCH] Fix wrong macro --- storage/voxel_memory_pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/voxel_memory_pool.cpp b/storage/voxel_memory_pool.cpp index 8e98e572..014cf30a 100644 --- a/storage/voxel_memory_pool.cpp +++ b/storage/voxel_memory_pool.cpp @@ -64,7 +64,7 @@ uint8_t *VoxelMemoryPool::allocate(size_t size) { pool.mutex.unlock(); } else { pool.mutex.unlock(); - VOXEL_PROFILE_SCOPE("new alloc"); + VOXEL_PROFILE_SCOPE_NAMED("new alloc"); // All allocations done in this pool have the same size, // which must be greater or equal to `size` const size_t capacity = get_size_from_pool_index(pot);