nghttpx: Remove unused lambda capture

This commit is contained in:
Tatsuhiro Tsujikawa 2017-04-12 22:09:44 +09:00
parent 899588e0b5
commit 6cfa885207
1 changed files with 1 additions and 2 deletions

View File

@ -275,8 +275,7 @@ void memcached_get_ticket_key_cb(struct ev_loop *loop, ev_timer *w,
auto req = make_unique<MemcachedRequest>(); auto req = make_unique<MemcachedRequest>();
req->key = "nghttpx:tls-ticket-key"; req->key = "nghttpx:tls-ticket-key";
req->op = MEMCACHED_OP_GET; req->op = MEMCACHED_OP_GET;
req->cb = [conn_handler, dispatcher, w](MemcachedRequest *req, req->cb = [conn_handler, w](MemcachedRequest *req, MemcachedResult res) {
MemcachedResult res) {
switch (res.status_code) { switch (res.status_code) {
case MEMCACHED_ERR_NO_ERROR: case MEMCACHED_ERR_NO_ERROR:
break; break;