Merge pull request #1883 from nkolotov/fix/issues/1882

Fixed -Wshadow warning.
This commit is contained in:
Milo Yip 2021-05-06 09:54:52 +08:00 committed by GitHub
commit 25fa7a119d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -660,9 +660,9 @@ public:
{ } { }
/* implicit */ /* implicit */
StdAllocator(const BaseAllocator& allocator) RAPIDJSON_NOEXCEPT : StdAllocator(const BaseAllocator& baseAllocator) RAPIDJSON_NOEXCEPT :
allocator_type(), allocator_type(),
baseAllocator_(allocator) baseAllocator_(baseAllocator)
{ } { }
~StdAllocator() RAPIDJSON_NOEXCEPT ~StdAllocator() RAPIDJSON_NOEXCEPT