Skip to content

Commit d14a048

Browse files
committed
-Wshadow on GCC
1 parent edd1544 commit d14a048

File tree

1 file changed

+1
-1
lines changed
  • libcxx/test/std/containers/sequences/vector/vector.modifiers

1 file changed

+1
-1
lines changed

libcxx/test/std/containers/sequences/vector/vector.modifiers/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bool Throws::sThrows = false;
4242
struct ThrowingMove {
4343
TEST_CONSTEXPR ThrowingMove() : value(0), do_throw(false) {}
4444
TEST_CONSTEXPR explicit ThrowingMove(int v) : value(v), do_throw(false) {}
45-
TEST_CONSTEXPR explicit ThrowingMove(int v, bool do_throw) : value(v), do_throw(do_throw) {}
45+
TEST_CONSTEXPR explicit ThrowingMove(int v, bool throw_) : value(v), do_throw(throw_) {}
4646

4747
ThrowingMove(const ThrowingMove& rhs) = default;
4848
ThrowingMove& operator=(const ThrowingMove&) = default;

0 commit comments

Comments
 (0)