Browse Source

Workaround new -Wshadow warning introduced by r293599

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@293619 91177308-0d34-0410-b5e6-96231b3b80d8
Alex Lorenz 8 years ago
parent
commit
cb14d02f6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp

+ 1 - 1
test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp

@@ -44,7 +44,7 @@ struct poca_alloc {
 
     alloc_imp<T> *imp;
 
-    poca_alloc(alloc_imp<T> *imp) : imp (imp) {}
+    poca_alloc(alloc_imp<T> *ximp) : imp (ximp) {}
 
     template <class U>
     poca_alloc(const poca_alloc<U>& other) : imp(other.imp) {}