fix(Core/TaskScheduler): warning (#17275)
This commit is contained in:
parent
f2ba787dfa
commit
4b21f01b91
1 changed files with 3 additions and 3 deletions
|
|
@ -432,11 +432,11 @@ public:
|
|||
: _task(right._task), _owner(right._owner), _consumed(right._consumed) { }
|
||||
|
||||
// Move construct
|
||||
TaskContext(TaskContext&& right)
|
||||
TaskContext(TaskContext&& right) noexcept
|
||||
: _task(std::move(right._task)), _owner(std::move(right._owner)), _consumed(std::move(right._consumed)) { }
|
||||
|
||||
// Copy assign
|
||||
TaskContext& operator= (TaskContext const& right)
|
||||
TaskContext& operator= (TaskContext const& right) noexcept
|
||||
{
|
||||
_task = right._task;
|
||||
_owner = right._owner;
|
||||
|
|
@ -445,7 +445,7 @@ public:
|
|||
}
|
||||
|
||||
// Move assign
|
||||
TaskContext& operator= (TaskContext&& right)
|
||||
TaskContext& operator= (TaskContext&& right) noexcept
|
||||
{
|
||||
_task = std::move(right._task);
|
||||
_owner = std::move(right._owner);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue