From 6439dca43a3442454dffa2eb9733c80b6402e812 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 8 Feb 2022 11:56:52 +0100 Subject: [PATCH] memory: suppress a (shadow) warning from gcc --- src/entt/core/memory.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entt/core/memory.hpp b/src/entt/core/memory.hpp index a885be39c..b6594ec28 100644 --- a/src/entt/core/memory.hpp +++ b/src/entt/core/memory.hpp @@ -116,10 +116,10 @@ struct allocation_deleter: private Allocator { /** * @brief Inherited constructors. - * @param allocator The allocator to use. + * @param alloc The allocator to use. */ - allocation_deleter(const allocator_type &allocator) - : Allocator{allocator} {} + allocation_deleter(const allocator_type &alloc) + : Allocator{alloc} {} /** * @brief Destroys the pointed object and deallocates its memory.