Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Nov 14, 2024
1 parent b1b4bb8 commit 2620836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ TEST(ExceptionTest, AndErrorHandler) {
res.status = StatusCode::InternalServerError_500;
});

svr.Get("/exception", [](const Request & /*req*/, Response &res) {
svr.Get("/exception", [](const Request & /*req*/, Response & /*res*/) {
throw std::runtime_error("EXCEPTION");
});

Expand Down

0 comments on commit 2620836

Please sign in to comment.