You've already forked cpp-httplib
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