From ba8af57470b25e478a8541cc5026b895e1e95cc3 Mon Sep 17 00:00:00 2001 From: Pranav Srinivas Kumar Date: Mon, 1 Apr 2019 23:47:49 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f8da567..432492f 100644 --- a/README.md +++ b/README.md @@ -322,7 +322,7 @@ argparse::ArgumentParser program("test"); program.add_argument("input") .default_value("baz") - .action([=](const std::string& value) { + .action([](const std::string& value) { static const std::vector choices = { "foo", "bar", "baz" }; if (std::find(choices.begin(), choices.end(), value) != choices.end()) { return value;