mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-04-11 19:28:30 +00:00
Refactor the examples to compile with a C++11 compiler
This commit is contained in:
@@ -12,7 +12,7 @@ int main(void)
|
||||
{
|
||||
Server svr;
|
||||
|
||||
svr.Get("/hi", [](const auto& /*req*/, auto& res) {
|
||||
svr.Get("/hi", [](const Request& /*req*/, Response& res) {
|
||||
res.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user