Skip to content

Commit 1251009

Browse files
committed
Fix formatting
1 parent d8d682a commit 1251009

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/external_definition/main.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// Testing whether crow routes can be defined in an external function.
22
#include "crow.h"
33

4-
void define_endpoints(crow::SimpleApp& app) {
5-
CROW_ROUTE(app, "/") ([]() {
4+
void define_endpoints(crow::SimpleApp& app)
5+
{
6+
CROW_ROUTE(app, "/")
7+
([]() {
68
return "Hello, world!";
79
});
810
CROW_WEBSOCKET_ROUTE(app, "/ws")

0 commit comments

Comments
 (0)