asio: Remove unused captured variable
This commit is contained in:
parent
a043230371
commit
ceefddd332
|
@ -67,7 +67,7 @@ int main(int argc, char *argv[]) {
|
||||||
return;
|
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;
|
std::cerr << "HTTP/2 " << res.status_code() << std::endl;
|
||||||
for (auto &kv : res.header()) {
|
for (auto &kv : res.header()) {
|
||||||
std::cerr << kv.first << ": " << kv.second.value << "\n";
|
std::cerr << kv.first << ": " << kv.second.value << "\n";
|
||||||
|
|
Loading…
Reference in New Issue