nghttpx: Remove redundant StringRef ctor invocation

This commit is contained in:
Tatsuhiro Tsujikawa 2017-02-16 22:45:55 +09:00
parent 2f6e1ac336
commit cfb39171a7
1 changed files with 1 additions and 1 deletions

View File

@ -3631,7 +3631,7 @@ int configure_downstream_group(Config *config, bool http2_proxy,
auto &sni = tlsconf.backend_sni_name;
for (auto &addr_group : addr_groups) {
for (auto &addr : addr_group.addrs) {
addr.sni = StringRef{sni};
addr.sni = sni;
}
}
}