diff options
author | SmallJoker <mk939@ymail.com> | 2018-12-21 19:05:29 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-12-21 19:05:29 +0100 |
commit | 2a69f874da804570b589da25c9ae1783b9c05a8c (patch) | |
tree | b8a01f2b82290e388443a999f6c1419db0a9af39 /src/script/lua_api | |
parent | d994f7ca5f75431da8e17fd6762209c404d89482 (diff) | |
download | minetest-2a69f874da804570b589da25c9ae1783b9c05a8c.tar.gz minetest-2a69f874da804570b589da25c9ae1783b9c05a8c.tar.bz2 minetest-2a69f874da804570b589da25c9ae1783b9c05a8c.zip |
reportMetadataChange; Silence clang warnings
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_playermeta.cpp | 2 | ||||
-rw-r--r-- | src/script/lua_api/l_playermeta.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_playermeta.cpp b/src/script/lua_api/l_playermeta.cpp index e690f6bd0..558672e38 100644 --- a/src/script/lua_api/l_playermeta.cpp +++ b/src/script/lua_api/l_playermeta.cpp @@ -45,7 +45,7 @@ void PlayerMetaRef::clearMeta() metadata->clear(); } -void PlayerMetaRef::reportMetadataChange() +void PlayerMetaRef::reportMetadataChange(const std::string *name) { // TODO } diff --git a/src/script/lua_api/l_playermeta.h b/src/script/lua_api/l_playermeta.h index 697424318..9e23c071c 100644 --- a/src/script/lua_api/l_playermeta.h +++ b/src/script/lua_api/l_playermeta.h @@ -40,7 +40,7 @@ private: virtual void clearMeta(); - virtual void reportMetadataChange(); + virtual void reportMetadataChange(const std::string *name = nullptr); // garbage collector static int gc_object(lua_State *L); |