mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Fix clang-tidy performance-move-const-arg warnings in headers
This commit is contained in:
parent
baf00a54e8
commit
a136159ceb
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ public:
|
|||
|
||||
name = std::move(c.name);
|
||||
description = std::move(c.description);
|
||||
version = std::move(c.version);
|
||||
version = c.version;
|
||||
}
|
||||
|
||||
Configuration(const Configuration& c) {
|
||||
|
@ -157,7 +157,7 @@ public:
|
|||
|
||||
name = std::move(c.name);
|
||||
description = std::move(c.description);
|
||||
version = std::move(c.version);
|
||||
version = c.version;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue