diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2017-08-02 18:21:34 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2017-08-02 18:21:34 +0000 |
| commit | 4f4fc2ea7bb1b229df4d8f83161349f9f2b30754 (patch) | |
| tree | 4f99af2d1357f0215f0f95d9aa9f18cdc52d6fea /libcxx/test/std/input.output/string.streams | |
| parent | d869913f3bdb218fcc0e4357b01f1e5ecd8da2b4 (diff) | |
| download | bcm5719-llvm-4f4fc2ea7bb1b229df4d8f83161349f9f2b30754.tar.gz bcm5719-llvm-4f4fc2ea7bb1b229df4d8f83161349f9f2b30754.zip | |
Fix shadowing warning
llvm-svn: 309851
Diffstat (limited to 'libcxx/test/std/input.output/string.streams')
| -rw-r--r-- | libcxx/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 43b9df68674..f808bcd14de 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 @@ 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; }; |

