Fix shadowing warning
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 2 Aug 2017 18:21:34 +0000 (18:21 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 2 Aug 2017 18:21:34 +0000 (18:21 +0000)
llvm-svn: 309851

libcxx/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp

index 43b9df6..f808bcd 100644 (file)
@@ -22,7 +22,7 @@ template<typename T>
 struct NoDefaultAllocator : std::allocator<T>
 {
   template<typename U> struct rebind { using other = NoDefaultAllocator<U>; };
-  NoDefaultAllocator(int id) : id(id) { }
+  NoDefaultAllocator(int id_) : id(id_) { }
   template<typename U> NoDefaultAllocator(const NoDefaultAllocator<U>& a) : id(a.id) { }
   int id;
 };