summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-12 22:08:28 +0200
committerMattes D <github@xoft.cz>2014-10-12 22:08:28 +0200
commit53410a9271a8c9fddfe690d751dc5f3ad217ca28 (patch)
treed7c85371c4c0c4e8ed94fa40513fde61891e6923 /src/Bindings
parentWe only use VS2013 now, thus VS2008 is banished! (diff)
parentAligned simulators (diff)
downloadcuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.tar
cuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.tar.gz
cuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.tar.bz2
cuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.tar.lz
cuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.tar.xz
cuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.tar.zst
cuberite-53410a9271a8c9fddfe690d751dc5f3ad217ca28.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/ManualBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index f643f06ec..0558533ce 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -1160,7 +1160,7 @@ static int tolua_cWorld_QueueTask(lua_State * tolua_S)
return lua_do_error(tolua_S, "Error in function call '#funcname#': Could not get function reference of parameter #1");
}
- self->QueueTask(new cLuaWorldTask(*Plugin, FnRef));
+ self->QueueTask(make_unique<cLuaWorldTask>(*Plugin, FnRef));
return 0;
}