mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-14 19:03:30 +00:00
Refactor the examples to compile with a C++11 compiler
This commit is contained in:
1 parent
48b47ef209
commit
4af5b1e441
3 files changed
+12
-13
No files matched your search
+1
-1
@@ -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