Fix clang-tidy performance-move-const-argument warnings (moving trivially copyable)

This commit is contained in:
Tim Wojtulewicz 2025-04-25 15:13:02 -07:00
parent 144a3dee3a
commit ad4694f529
3 changed files with 8 additions and 8 deletions

View file

@ -49,6 +49,6 @@ bool ScannedFile::AlreadyScanned() const {
SignatureFile::SignatureFile(std::string file) : file(std::move(file)) {}
SignatureFile::SignatureFile(std::string file, std::string full_path, Location load_location)
: file(std::move(file)), full_path(std::move(full_path)), load_location(std::move(load_location)) {}
: file(std::move(file)), full_path(std::move(full_path)), load_location(load_location) {}
} // namespace zeek::detail