Skip to content

Commit

Permalink
fix: build error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Dec 3, 2024
1 parent 8569171 commit 6b951ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MaaFramework/Tasker/Tasker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ MaaTaskId Tasker::post_stop()
controller_->post_stop();
}

auto task_ptr = std::make_shared<MAA_TASK_NS::EmptyTask>(MAA_FUNCTION, this);
auto task_ptr = std::make_shared<MAA_TASK_NS::EmptyTask>(std::string(MAA_FUNCTION), this);
return post_task(std::move(task_ptr), {});
}

Expand Down

0 comments on commit 6b951ee

Please sign in to comment.