Skip to content

Commit d7ddcea

Browse files
committedApr 23, 2017
Fix lint since recent player to db merge
1 parent 29ab20c commit d7ddcea

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed
 

Diff for: ‎src/database-files.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2727
#include "filesys.h"
2828

2929
// !!! WARNING !!!
30-
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend for
31-
// player files
30+
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend
31+
// for player files
3232

3333
void PlayerDatabaseFiles::serialize(std::ostringstream &os, RemotePlayer *player)
3434
{

Diff for: ‎src/database-files.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2121
#define DATABASE_FILES_HEADER
2222

2323
// !!! WARNING !!!
24-
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend for
25-
// player files
24+
// This backend is intended to be used on Minetest 0.4.16 only for the transition backend
25+
// for player files
2626

2727
#include "database.h"
2828

Diff for: ‎src/remoteplayer.h

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ enum RemotePlayerChatResult
3838
class RemotePlayer : public Player
3939
{
4040
friend class PlayerDatabaseFiles;
41+
4142
public:
4243
RemotePlayer(const char *name, IItemDefManager *idef);
4344
virtual ~RemotePlayer() {}

Diff for: ‎util/travis/clang-format-whitelist.txt

+2
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ src/craftdef.cpp
5151
src/craftdef.h
5252
src/database.cpp
5353
src/database-dummy.cpp
54+
src/database-files.cpp
5455
src/database-leveldb.cpp
5556
src/database-postgresql.cpp
5657
src/database-postgresql.h
5758
src/database-redis.cpp
5859
src/database-sqlite3.cpp
60+
src/database-sqlite3.h
5961
src/daynightratio.h
6062
src/debug.cpp
6163
src/debug.h

0 commit comments

Comments
 (0)
Please sign in to comment.