mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 05:27:41 +00:00
CStateMessageModel: Move SEntry name
Allows for eliminating a redundant copy
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user