mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix clang-tidy performance-move-const-argument warnings (moving trivially copyable)
This commit is contained in:
parent
144a3dee3a
commit
ad4694f529
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue