Tweak minor const-ref/std::move things in script-opt code

This commit is contained in:
Jon Siwek 2021-03-08 15:50:04 -08:00
parent 4b6369a333
commit b66f4ad500
4 changed files with 9 additions and 9 deletions

View file

@ -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;