Skip to content

Commit 5ecf429

Browse files
committed
throw_with_nested : インデントが浅い問題を修正
1 parent 27122a1 commit 5ecf429

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

2nd/003_exception/012_throw_with_nested.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void print_nested_exception(exception_ptr e) {
1919
try {
2020
rethrow_if_nested(e);
2121
}
22-
catch (...) {
22+
catch (...) {
2323
print_nested_exception(current_exception());
2424
}
2525
}
@@ -28,7 +28,7 @@ void print_nested_exception(exception_ptr e) {
2828
try {
2929
rethrow_if_nested(e);
3030
}
31-
catch (...) {
31+
catch (...) {
3232
print_nested_exception(current_exception());
3333
}
3434
}
@@ -39,7 +39,7 @@ int main() {
3939
try {
4040
throw xxx();
4141
}
42-
catch (...) {
42+
catch (...) {
4343
throw_with_nested(yyy());
4444
}
4545
}

0 commit comments

Comments
 (0)