mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Tweak minor const-ref/std::move things in script-opt code
This commit is contained in:
parent
4b6369a333
commit
b66f4ad500
4 changed files with 9 additions and 9 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
void SetDPs(const DefPoints* _dps);
|
||||
|
||||
const RDPtr& MaxRDs() const { return max_rds; }
|
||||
void SetMaxRDs(RDPtr rds) { max_rds = rds; }
|
||||
void SetMaxRDs(RDPtr rds) { max_rds = std::move(rds); }
|
||||
|
||||
protected:
|
||||
std::string name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue