aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_metadata.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-04-07 23:22:00 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-07 23:22:00 +0200
commit4af99b75cf3ae43c365a4c1e90e85f8ec764cf62 (patch)
treeb8366b07b950b3ef7e251457c9b2509175c0faad /src/script/lua_api/l_metadata.h
parent271d7c31e69db0bb6c5cf2cfb6e97ba129045d3e (diff)
downloadminetest-4af99b75cf3ae43c365a4c1e90e85f8ec764cf62.tar.gz
minetest-4af99b75cf3ae43c365a4c1e90e85f8ec764cf62.tar.bz2
minetest-4af99b75cf3ae43c365a4c1e90e85f8ec764cf62.zip
Pass clang-format on 14 trivial header files fixes
Also remove them from whitelist
Diffstat (limited to 'src/script/lua_api/l_metadata.h')
-rw-r--r--src/script/lua_api/l_metadata.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/script/lua_api/l_metadata.h b/src/script/lua_api/l_metadata.h
index 561be6adf..be31d95ad 100644
--- a/src/script/lua_api/l_metadata.h
+++ b/src/script/lua_api/l_metadata.h
@@ -19,8 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef L_METADATA_H_
#define L_METADATA_H_
-#include "lua_api/l_base.h"
#include "irrlichttypes_bloated.h"
+#include "lua_api/l_base.h"
class Metadata;
@@ -28,14 +28,15 @@ class Metadata;
NodeMetaRef
*/
-class MetaDataRef : public ModApiBase {
+class MetaDataRef : public ModApiBase
+{
public:
virtual ~MetaDataRef() {}
protected:
static MetaDataRef *checkobject(lua_State *L, int narg);
virtual void reportMetadataChange() {}
- virtual Metadata* getmeta(bool auto_create) = 0;
+ virtual Metadata *getmeta(bool auto_create) = 0;
virtual void clearMeta() = 0;
virtual void handleToTable(lua_State *L, Metadata *meta);