Skip to content

Commit 367766f

Browse files
committed
Corrected style
1 parent 3cc1a70 commit 367766f

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/Main.cpp

+11-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
int main()
44
{
5-
try{
6-
chesspp::Application app;
7-
return app.Exec();
8-
}
9-
catch (chesspp::exception& ex){
10-
std::cout << "Caught in main: " << ex.what() << '\n';
11-
}
12-
13-
return 0;
5+
try
6+
{
7+
chesspp::Application app;
8+
return app.Exec();
9+
}
10+
catch (chesspp::exception& ex)
11+
{
12+
std::cout << "Caught in main: " << ex.what() << '\n';
13+
}
14+
15+
return 0;
1416
}

0 commit comments

Comments
 (0)