commit | 4f4fc2ea7bb1b229df4d8f83161349f9f2b30754 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Wed Aug 02 18:21:34 2017 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Wed Aug 02 18:21:34 2017 +0000 |
tree | 4f99af2d1357f0215f0f95d9aa9f18cdc52d6fea | |
parent | d869913f3bdb218fcc0e4357b01f1e5ecd8da2b4 [diff] [blame] |
Fix shadowing warning llvm-svn: 309851
diff --git a/libcxx/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp b/libcxx/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp index 43b9df6..f808bcd 100644 --- a/libcxx/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp +++ b/libcxx/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp
@@ -22,7 +22,7 @@ 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; };