yhirose hai 1 ano
pai
achega
26208363ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/test.cc

+ 1 - 1
test/test.cc

@@ -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");
   });