CEnumProperty: Make use of std::move where applicable
This commit is contained in:
parent
315874c0ba
commit
d3be84ae23
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue