asio: Remove unused captured variable

This commit is contained in:
Tatsuhiro Tsujikawa 2015-03-07 01:39:25 +09:00
parent a043230371
commit ceefddd332
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ int main(int argc, char *argv[]) {
return;
}
req->on_response([&sess, req](const response &res) {
req->on_response([&sess](const response &res) {
std::cerr << "HTTP/2 " << res.status_code() << std::endl;
for (auto &kv : res.header()) {
std::cerr << kv.first << ": " << kv.second.value << "\n";