Skip to content

Commit

Permalink
reportMetadataChange; Silence clang warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Dec 21, 2018
1 parent d994f7c commit 2a69f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/script/lua_api/l_playermeta.cpp
Expand Up @@ -45,7 +45,7 @@ void PlayerMetaRef::clearMeta()
metadata->clear();
}

void PlayerMetaRef::reportMetadataChange()
void PlayerMetaRef::reportMetadataChange(const std::string *name)
{
// TODO
}
Expand Down
2 changes: 1 addition & 1 deletion src/script/lua_api/l_playermeta.h
Expand Up @@ -40,7 +40,7 @@ class PlayerMetaRef : public MetaDataRef

virtual void clearMeta();

virtual void reportMetadataChange();
virtual void reportMetadataChange(const std::string *name = nullptr);

// garbage collector
static int gc_object(lua_State *L);
Expand Down

0 comments on commit 2a69f87

Please sign in to comment.