Skip to content

Commit 27122a1

Browse files
committed
rethrow_if_nested : インデントが浅い問題を修正
1 parent 2ed465d commit 27122a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

2nd/003_exception/011_rethrow_if_nested.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ int main() {
1616
try {
1717
throw xxx();
1818
}
19-
catch (...) {
19+
catch (...) {
2020
throw nested_exception();
2121
}
2222
}
@@ -33,11 +33,11 @@ int main() {
3333
try {
3434
throw xxx();
3535
}
36-
catch (...) {
36+
catch (...) {
3737
throw_with_nested(yyy());
3838
}
3939
}
40-
catch (yyy& e) {
40+
catch (yyy& e) {
4141
rethrow_if_nested(e);
4242
cerr << "no nested_exception" << endl;
4343
}

0 commit comments

Comments
 (0)