nghttpx: Use copy instead of const reference of backend group

This commit is contained in:
Tatsuhiro Tsujikawa 2016-08-04 23:11:45 +09:00
parent d8822f2a8e
commit 210a5c4f01
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ private:
Worker *worker_;
// nullptr if TLS is not used.
SSL_CTX *ssl_ctx_;
const std::shared_ptr<DownstreamAddrGroup> &group_;
std::shared_ptr<DownstreamAddrGroup> group_;
// Address of remote endpoint
DownstreamAddr *addr_;
IOControl ioctrl_;