Skip to content

Commit 8e44bb0

Browse files
committed
*
1 parent 717d501 commit 8e44bb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/20.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void init_20()
7171
#endif
7272
line l1 = {};
7373
assert(!l1.a.x);
74-
line l3 = { 1, 2, 3, 4 };
74+
line l3 = { 1, 2, 3, 4 }; // missing-braces
7575
assert(l3.b.x == 3);
7676
assert(l3.b.y == 4);
7777
}
@@ -323,6 +323,7 @@ void coroutine_demo()
323323
jthread out;
324324
resuming_on_new_thread(out);
325325
}
326+
326327
#else
327328
void coroutine_demo()
328329
{

0 commit comments

Comments
 (0)