mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Fix clang-tidy modernize-use-emplace findings
This commit is contained in:
parent
3943e64372
commit
a3078f3132
9 changed files with 19 additions and 20 deletions
|
@ -1638,7 +1638,7 @@ bool detail::TablePatternMatcher::MatchAll(const StringValPtr& s) {
|
|||
|
||||
void detail::TablePatternMatcher::Build() {
|
||||
matcher_yields.clear();
|
||||
matcher_yields.push_back(nullptr);
|
||||
matcher_yields.emplace_back(nullptr);
|
||||
|
||||
auto& tbl_dict = *tbl->Get();
|
||||
auto& tbl_hash = *tbl->GetTableHash();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue