summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-08-28 23:48:10 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-08-28 23:48:10 +0200
commitf3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9 (patch)
tree775d91a58a07e250a3e14f4a88d233488e8755b9 /src/World.h
parenttest (diff)
downloadcuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar
cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.gz
cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.bz2
cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.lz
cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.xz
cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.tar.zst
cuberite-f3d7f6db4cabdfbf356e2cf8e9c477b72c0971e9.zip
Diffstat (limited to '')
-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));