From 5cb05258ee4342e451af332614ad22e3df25c518 Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 26 Jun 2016 14:51:34 -0400 Subject: [PATCH] Correct the example in README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f09077..6fbd506 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ int main(void) res.set_content("Hello World!", "text/plain"); }); - svr_.get(R"(/numbers/(\d+))", [&](const auto& req, auto& res) { - string numbers = req.matches[1]; + svr.get(R"(/numbers/(\d+))", [&](const auto& req, auto& res) { + auto numbers = req.matches[1]; res.set_content(numbers, "text/plain"); });