Browse Source

fix shadowing warnings in new tests, try 2

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@316009 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 7 years ago
parent
commit
9fdd86763e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/support/emplace_constructible.h

+ 2 - 2
test/support/emplace_constructible.h

@@ -47,8 +47,8 @@ struct EmplaceConstructibleMoveableAndAssignable {
   int copied = 0;
   int assigned = 0;
   T value;
-  explicit EmplaceConstructibleMoveableAndAssignable(T value) noexcept
-      : value(value) {}
+  explicit EmplaceConstructibleMoveableAndAssignable(T xvalue) noexcept
+      : value(xvalue) {}
 
   EmplaceConstructibleMoveableAndAssignable(
       EmplaceConstructibleMoveableAndAssignable&& Other) noexcept