mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Fix clang-tidy modernize-pass-by-value findings
This commit is contained in:
parent
46e67a749a
commit
5930d2f944
22 changed files with 37 additions and 40 deletions
|
@ -51,7 +51,7 @@ static std::string escape_string(const u_char* b, int len) {
|
|||
return res + "\"";
|
||||
}
|
||||
|
||||
ValTrace::ValTrace(const ValPtr& _v) : v(_v) {
|
||||
ValTrace::ValTrace(ValPtr _v) : v(std::move(_v)) {
|
||||
t = v->GetType();
|
||||
|
||||
switch ( t->Tag() ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue