mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-13 16:46:06 +00:00
IProgressNotifier: Make use of std::move where applicable
Allows calling code to avoid copies entirely.
This commit is contained in:
parent
46e82a99cc
commit
665d1f3560
@ -23,7 +23,7 @@ public:
|
||||
|
||||
void SetTask(int TaskIndex, TString TaskName)
|
||||
{
|
||||
mTaskName = TaskName;
|
||||
mTaskName = std::move(TaskName);
|
||||
mTaskIndex = TaskIndex;
|
||||
mTaskCount = Math::Max(mTaskCount, TaskIndex + 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user