mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38: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
|
@ -398,7 +398,7 @@ void Trigger::Register(const ID* const_id)
|
|||
notifier::detail::registry.Register(id, this);
|
||||
|
||||
Ref(id);
|
||||
objs.push_back({id, id});
|
||||
objs.emplace_back(id, id);
|
||||
}
|
||||
|
||||
void Trigger::Register(Val* val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue