Author: marshall
Date: Wed Aug  2 11:21:34 2017
New Revision: 309851

URL: http://llvm.org/viewvc/llvm-project?rev=309851&view=rev
Log:
Fix shadowing warning

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

Modified: 
libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp?rev=309851&r1=309850&r2=309851&view=diff
==============================================================================
--- 
libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp
 (original)
+++ 
libcxx/trunk/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp
 Wed Aug  2 11:21:34 2017
@@ -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;
 };


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to