Fix clang-tidy modernize-pass-by-value findings

This commit is contained in:
Tim Wojtulewicz 2025-05-15 09:25:39 -07:00
parent 46e67a749a
commit 5930d2f944
22 changed files with 37 additions and 40 deletions

View file

@ -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() ) {