From 3aa8d04b749436c5cc3722e633b8ec20763a90f8 Mon Sep 17 00:00:00 2001 From: "N. Kolotov" Date: Mon, 3 May 2021 01:56:41 +0300 Subject: [PATCH] Fixed -Wshadow warning. --- include/rapidjson/allocators.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rapidjson/allocators.h b/include/rapidjson/allocators.h index 3ec83c1..12bc5ba 100644 --- a/include/rapidjson/allocators.h +++ b/include/rapidjson/allocators.h @@ -660,9 +660,9 @@ public: { } /* implicit */ - StdAllocator(const BaseAllocator& allocator) RAPIDJSON_NOEXCEPT : + StdAllocator(const BaseAllocator& baseAllocator) RAPIDJSON_NOEXCEPT : allocator_type(), - baseAllocator_(allocator) + baseAllocator_(baseAllocator) { } ~StdAllocator() RAPIDJSON_NOEXCEPT