We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7886925 commit 08e677dCopy full SHA for 08e677d
libcxx/test/std/containers/sequences/vector/vector.cons/exceptions.pass.cpp
@@ -49,7 +49,7 @@ struct ThrowingT {
49
--throw_after_n;
50
}
51
52
- ThrowingT(const ThrowingT& rhs) : throw_after_n_{rhs.throw_after_n_} {
+ ThrowingT(const ThrowingT& rhs) : throw_after_n_(rhs.throw_after_n_) {
53
if (throw_after_n_ == nullptr || *throw_after_n_ == 0)
54
throw 1;
55
--*throw_after_n_;
0 commit comments