summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index 6d5df5c4a..de7fcac2e 100644
--- a/src/World.h
+++ b/src/World.h
@@ -649,7 +649,7 @@ public:
/** Queues a task onto the tick thread. The task object will be deleted once the task is finished */
template <typename FunctionType>
- auto QueueTask(FunctionType && a_Task) // Exported in ManualBindings.cpp
+ std::future<void> QueueTask(FunctionType && a_Task) // Exported in ManualBindings.cpp
{
cCSLock Lock(m_CSTasks);
m_Tasks.emplace_back(-1, std::forward<FunctionType>(a_Task));