summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authortycho <tycho@localhost>2014-10-10 16:33:19 +0200
committertycho <tycho@localhost>2014-10-10 16:33:19 +0200
commit473c0425d374132c097045a84e03510bc8a7876b (patch)
tree1188d46473b129375a28cf460adb14b226f93164 /src/Bindings/ManualBindings.cpp
parentFixed MSVC compilation. (diff)
downloadcuberite-473c0425d374132c097045a84e03510bc8a7876b.tar
cuberite-473c0425d374132c097045a84e03510bc8a7876b.tar.gz
cuberite-473c0425d374132c097045a84e03510bc8a7876b.tar.bz2
cuberite-473c0425d374132c097045a84e03510bc8a7876b.tar.lz
cuberite-473c0425d374132c097045a84e03510bc8a7876b.tar.xz
cuberite-473c0425d374132c097045a84e03510bc8a7876b.tar.zst
cuberite-473c0425d374132c097045a84e03510bc8a7876b.zip
Diffstat (limited to '')
-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;
}