mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
fix(Core/TaskScheduler): warning (#17275)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user