Skip to content

Commit 25fa7a1

Browse files
authored
Merge pull request Tencent#1883 from nkolotov/fix/issues/1882
Fixed -Wshadow warning.
2 parents e0f68a4 + 3aa8d04 commit 25fa7a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/rapidjson/allocators.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,9 @@ class StdAllocator<void, BaseAllocator> :
660660
{ }
661661

662662
/* implicit */
663-
StdAllocator(const BaseAllocator& allocator) RAPIDJSON_NOEXCEPT :
663+
StdAllocator(const BaseAllocator& baseAllocator) RAPIDJSON_NOEXCEPT :
664664
allocator_type(),
665-
baseAllocator_(allocator)
665+
baseAllocator_(baseAllocator)
666666
{ }
667667

668668
~StdAllocator() RAPIDJSON_NOEXCEPT

0 commit comments

Comments
 (0)