mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fix warning
This commit is contained in:
parent
b1b4bb8850
commit
26208363ee
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue