File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libcxx/test/std/containers/sequences/vector.bool Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ int main(int, char**) {
101101 try { // Throw in vector(const vector&, const allocator_type&) from allocator
102102 throwing_allocator<bool > alloc (false , false );
103103 AllocVec vec (alloc);
104- vec.emplace_back (true );
104+ vec.push_back (true );
105105 alloc.throw_on_copy_ = true ;
106106 AllocVec vec2 (vec, alloc);
107107 } catch (int ) {
@@ -111,7 +111,7 @@ int main(int, char**) {
111111 try { // Throw in vector(vector&&, const allocator_type&) from allocator
112112 throwing_allocator<bool > alloc (false , false );
113113 AllocVec vec (alloc);
114- vec.emplace_back (true );
114+ vec.push_back (true );
115115 alloc.throw_on_copy_ = true ;
116116 AllocVec vec2 (std::move (vec), alloc);
117117 } catch (int ) {
You can’t perform that action at this time.
0 commit comments