mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Use emplace_back over push_back where appropriate
This commit is contained in:
parent
0d78eb1933
commit
64b78f6fb9
28 changed files with 86 additions and 86 deletions
|
@ -889,7 +889,7 @@ broker::expected<broker::data> val_to_data(const Val* v)
|
|||
std::string name(f->Name());
|
||||
|
||||
broker::vector rval;
|
||||
rval.push_back(name);
|
||||
rval.emplace_back(name);
|
||||
|
||||
if ( name.find("lambda_<") == 0 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue