Skip to content

Commit 3aa8d04

Browse files
committed
Fixed -Wshadow warning.
1 parent e0f68a4 commit 3aa8d04

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)