[libcxx] r309851 - Fix shadowing warning
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 2 11:21:34 PDT 2017
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;
};
More information about the cfe-commits
mailing list