IProgressNotifier: Make use of std::move where applicable

Allows calling code to avoid copies entirely.
This commit is contained in:
Lioncash 2020-06-28 01:12:38 -04:00
parent 46e82a99cc
commit 665d1f3560
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}