CEnumProperty: Make use of std::move where applicable

This commit is contained in:
Lioncash 2020-06-22 23:07:59 -04:00
parent 315874c0ba
commit d3be84ae23
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ class TEnumPropertyBase : public TSerializeableTypedProperty<int32, TypeEnum>
uint32 ID = 0; uint32 ID = 0;
SEnumValue() = default; SEnumValue() = default;
SEnumValue(const TString& rkInName, uint32 InID) SEnumValue(TString rkInName, uint32 InID)
: Name(rkInName), ID(InID) {} : Name(std::move(rkInName)), ID(InID) {}
bool operator==(const SEnumValue& other) const bool operator==(const SEnumValue& other) const