mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 21:47:45 +00:00
CStateMessageModel: Move SEntry name
Allows for eliminating a redundant copy
This commit is contained in:
@@ -25,8 +25,8 @@ private:
|
|||||||
QString Name;
|
QString Name;
|
||||||
|
|
||||||
SEntry() = default;
|
SEntry() = default;
|
||||||
SEntry(uint32 _ID, const QString& rkName)
|
SEntry(uint32 _ID, QString rkName)
|
||||||
: ID(_ID), Name(rkName) {}
|
: ID(_ID), Name(std::move(rkName)) {}
|
||||||
|
|
||||||
bool operator<(const SEntry& rkOther) const
|
bool operator<(const SEntry& rkOther) const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user