mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58: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
|
@ -299,7 +299,7 @@ void CPPCompile::GenStandaloneActivation() {
|
|||
hashes += Fmt(h);
|
||||
}
|
||||
|
||||
hashes = "{" + hashes + "}";
|
||||
hashes = std::string{"{"}.append(hashes).append("}");
|
||||
|
||||
auto f = fb.first;
|
||||
const auto& fn = f->GetName();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue