mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Fix clang-tidy performance-inefficient-string-concatenation warnings
This commit is contained in:
parent
cb8c35748a
commit
c609d5c90a
7 changed files with 15 additions and 9 deletions
|
@ -768,7 +768,7 @@ bool Manager::TraverseRecord(Stream* stream, Filter* filter, RecordType* rt, Tab
|
|||
|
||||
// Add the ext prefix if this is an ext field.
|
||||
if ( j < num_ext_fields )
|
||||
new_path = filter->ext_prefix + new_path;
|
||||
new_path = string{filter->ext_prefix}.append(new_path);
|
||||
|
||||
if ( t->InternalType() == TYPE_INTERNAL_OTHER ) {
|
||||
if ( t->Tag() == TYPE_RECORD ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue