nghttpx: Use emplace_back instead of push_back

This commit is contained in:
Tatsuhiro Tsujikawa 2016-10-03 22:06:54 +09:00
parent f310e82fc8
commit dba0d2791c
1 changed files with 2 additions and 1 deletions

View File

@ -2454,7 +2454,8 @@ int parse_config(Config *config, int optid, const StringRef &opt,
case SHRPX_OPTID_LISTENER_DISABLE_TIMEOUT:
return parse_duration(&config->conn.listener.timeout.sleep, opt, optarg);
case SHRPX_OPTID_TLS_TICKET_KEY_FILE:
config->tls.ticket.files.push_back(make_string_ref(config->balloc, optarg));
config->tls.ticket.files.emplace_back(
make_string_ref(config->balloc, optarg));
return 0;
case SHRPX_OPTID_RLIMIT_NOFILE: {
int n;