aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/universe.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.hpp b/src/universe.hpp
index 0c5e659..88a53a1 100644
--- a/src/universe.hpp
+++ b/src/universe.hpp
@@ -30,7 +30,7 @@ class ProtectedAllocator final
30 static void* protected_lua_Alloc(void* const ud_, void* const ptr_, size_t const osize_, size_t const nsize_) 30 static void* protected_lua_Alloc(void* const ud_, void* const ptr_, size_t const osize_, size_t const nsize_)
31 { 31 {
32 ProtectedAllocator* const allocator{ static_cast<ProtectedAllocator*>(ud_) }; 32 ProtectedAllocator* const allocator{ static_cast<ProtectedAllocator*>(ud_) };
33 std::lock_guard<std::mutex> guard{ allocator->mutex }; 33 std::lock_guard<std::mutex> _guard{ allocator->mutex };
34 return allocator->alloc(ptr_, osize_, nsize_); 34 return allocator->alloc(ptr_, osize_, nsize_);
35 } 35 }
36 36