From 313b2bbea87101fdd629a2a48b47c75d35b5c501 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 29 Apr 2025 12:56:49 +0200 Subject: Updated comments on unit test lanes.configure.allocator/protected --- src/universe.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 static void* protected_lua_Alloc(void* const ud_, void* const ptr_, size_t const osize_, size_t const nsize_) { ProtectedAllocator* const allocator{ static_cast(ud_) }; - std::lock_guard guard{ allocator->mutex }; + std::lock_guard _guard{ allocator->mutex }; return allocator->alloc(ptr_, osize_, nsize_); } -- cgit v1.2.3-55-g6feb