summaryrefslogtreecommitdiffstats
path: root/engine/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'engine/include/core')
-rw-r--r--engine/include/core/task.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/include/core/task.hpp b/engine/include/core/task.hpp
index 77e1da6..49e156f 100644
--- a/engine/include/core/task.hpp
+++ b/engine/include/core/task.hpp
@@ -30,7 +30,7 @@ namespace flat {
class job : protected queue<std::weak_ptr<task>> {
public:
/// add a task function owned by the job object
- void add_task(task::callback f, priority_t p);
+ void add_task(task::callback f, priority_t p = priority_t::none);
/// add a task function not owned by the job object (weak_ptr)
std::shared_ptr<task> delegate_task(task::callback f, priority_t p = priority_t::none);