diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-05-26 17:03:46 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-04 09:57:08 +0200 |
commit | bf6569b57019d070246d947ed929cb2b5eb67faf (patch) | |
tree | 3a8a3d4858f20a57930e0a0d0ad1f7c3fb48b512 /src/script/lua_api | |
parent | 0e58168fe5bce607f64805b854420e7558372f24 (diff) | |
download | minetest-bf6569b57019d070246d947ed929cb2b5eb67faf.tar.gz minetest-bf6569b57019d070246d947ed929cb2b5eb67faf.tar.bz2 minetest-bf6569b57019d070246d947ed929cb2b5eb67faf.zip |
Minetest for C++11 (CMakeLists + Travis)
* Move GCC to GCC 6 & GCC 7
* Move Clang to Clang 3.6 & Clang 4.0
* LINT moves from Clang 3.9 to Clang 4.0
* Move XCode 7.3 to 8.0
* Use more travis tricks to install compilers instead of adding complexity to our build script
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Drop mingw cmake generated files and add them to gitignore
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_metadata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_metadata.h b/src/script/lua_api/l_metadata.h index a4d8214d3..a479e64b0 100644 --- a/src/script/lua_api/l_metadata.h +++ b/src/script/lua_api/l_metadata.h @@ -32,6 +32,7 @@ class MetaDataRef : public ModApiBase { public: virtual ~MetaDataRef() {} + protected: static MetaDataRef *checkobject(lua_State *L, int narg); |