Skip to content

Commit

Permalink
Fix lint since recent player to db merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Apr 23, 2017
1 parent 29ab20c commit d7ddcea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/database-files.cpp
Expand Up @@ -27,8 +27,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "filesys.h"

// !!! WARNING !!!
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend for
// player files
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend
// for player files

void PlayerDatabaseFiles::serialize(std::ostringstream &os, RemotePlayer *player)
{
Expand Down
4 changes: 2 additions & 2 deletions src/database-files.h
Expand Up @@ -21,8 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define DATABASE_FILES_HEADER

// !!! WARNING !!!
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend for
// player files
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend
// for player files

#include "database.h"

Expand Down
1 change: 1 addition & 0 deletions src/remoteplayer.h
Expand Up @@ -38,6 +38,7 @@ enum RemotePlayerChatResult
class RemotePlayer : public Player
{
friend class PlayerDatabaseFiles;

public:
RemotePlayer(const char *name, IItemDefManager *idef);
virtual ~RemotePlayer() {}
Expand Down
2 changes: 2 additions & 0 deletions util/travis/clang-format-whitelist.txt
Expand Up @@ -51,11 +51,13 @@ src/craftdef.cpp
src/craftdef.h
src/database.cpp
src/database-dummy.cpp
src/database-files.cpp
src/database-leveldb.cpp
src/database-postgresql.cpp
src/database-postgresql.h
src/database-redis.cpp
src/database-sqlite3.cpp
src/database-sqlite3.h
src/daynightratio.h
src/debug.cpp
src/debug.h
Expand Down

0 comments on commit d7ddcea

Please sign in to comment.