CStateMessageModel: Move SEntry name

Allows for eliminating a redundant copy
This commit is contained in:
Lioncache
2025-12-02 23:18:27 -05:00
parent 70c3d7d68c
commit 397c3554e8

View File

@@ -25,8 +25,8 @@ private:
QString Name;
SEntry() = default;
SEntry(uint32 _ID, const QString& rkName)
: ID(_ID), Name(rkName) {}
SEntry(uint32 _ID, QString rkName)
: ID(_ID), Name(std::move(rkName)) {}
bool operator<(const SEntry& rkOther) const
{