Skip to content

Commit 08e677d

Browse files
committed
Replace {} with () to support cxx03 tests
1 parent 7886925 commit 08e677d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/containers/sequences/vector/vector.cons/exceptions.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct ThrowingT {
4949
--throw_after_n;
5050
}
5151

52-
ThrowingT(const ThrowingT& rhs) : throw_after_n_{rhs.throw_after_n_} {
52+
ThrowingT(const ThrowingT& rhs) : throw_after_n_(rhs.throw_after_n_) {
5353
if (throw_after_n_ == nullptr || *throw_after_n_ == 0)
5454
throw 1;
5555
--*throw_after_n_;

0 commit comments

Comments
 (0)