Example fix - should be no const qualifier

This commit is contained in:
Valentin Dudouyt 2017-11-22 14:06:08 +07:00 committed by GitHub
parent 140e5c06fb
commit a9a9d5e0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ int main(void)
Server svr;
svr.get("/hi", [](const Request& req, const Response& res) {
svr.get("/hi", [](const Request& req, Response& res) {
res.set_content("Hello World!", "text/plain");
});