memory: suppress a (shadow) warning from gcc

This commit is contained in:
Michele Caini
2022-02-08 11:56:52 +01:00
parent ca424a4577
commit 6439dca43a

View File

@@ -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.