Skip to content

Commit 36b1c16

Browse files
Name the unused param
1 parent 6eeb13a commit 36b1c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ using httplib::SSLServer;
12681268

12691269
SSLServer svr;
12701270

1271-
svr.Get("/hi", []([[maybe_unused]] const Request&, Response& res) -> void {
1271+
svr.Get("/hi", []([[maybe_unused]] const Request& req, Response& res) -> void {
12721272
res.set_content("Hello World!", "text/plain");
12731273
});
12741274

0 commit comments

Comments
 (0)