1
0
mirror of synced 2025-04-20 11:47:43 +03:00

Fix warning

This commit is contained in:
yhirose 2024-11-14 16:46:09 -05:00
parent b1b4bb8850
commit 26208363ee

View File

@ -2126,7 +2126,7 @@ TEST(ExceptionTest, AndErrorHandler) {
res.status = StatusCode::InternalServerError_500; 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"); throw std::runtime_error("EXCEPTION");
}); });