summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-07-22 00:40:13 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-08-20 17:15:55 +0200
commit5751ba0c1c774d69512cad2bd2c17e40b03af31a (patch)
tree3efe3615509589c8c6360aae490b55c54e4b8d55 /src/Bindings
parentMerge pull request #2391 from SamJBarney/CropGrowthFix (diff)
downloadcuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.gz
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.bz2
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.lz
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.xz
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.tar.zst
cuberite-5751ba0c1c774d69512cad2bd2c17e40b03af31a.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/LuaState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.cpp b/src/Bindings/LuaState.cpp
index 7c0d2a121..7b519a798 100644
--- a/src/Bindings/LuaState.cpp
+++ b/src/Bindings/LuaState.cpp
@@ -868,7 +868,7 @@ cLuaState::cStackValue cLuaState::WalkToValue(const AString & a_Name)
// Remove the previous value from the stack (keep only the new one):
lua_remove(m_LuaState, -2);
} // for elem - path[]
- return std::move(cStackValue(*this));
+ return cStackValue(*this);
}