summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2020-04-11 09:59:09 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2020-04-11 16:07:17 +0200
commit894a34aef48024a752a1ef151d046955d83858d0 (patch)
treef264d4c1ba7a62fe731255594f592bd78b3e09a5 /src/database
parentc99e8df07fe88c0b19363beca09e12f151bc13d0 (diff)
downloadminetest-894a34aef48024a752a1ef151d046955d83858d0.tar.gz
minetest-894a34aef48024a752a1ef151d046955d83858d0.tar.bz2
minetest-894a34aef48024a752a1ef151d046955d83858d0.zip
Move PlayerSAO to dedicated files
Diffstat (limited to 'src/database')
-rw-r--r--src/database/database-files.cpp2
-rw-r--r--src/database/database-postgresql.cpp2
-rw-r--r--src/database/database-sqlite3.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/database/database-files.cpp b/src/database/database-files.cpp
index d09f1c074..d2b0b1543 100644
--- a/src/database/database-files.cpp
+++ b/src/database/database-files.cpp
@@ -20,11 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <cassert>
#include <json/json.h>
#include "database-files.h"
-#include "content_sao.h"
#include "remoteplayer.h"
#include "settings.h"
#include "porting.h"
#include "filesys.h"
+#include "server/player_sao.h"
#include "util/string.h"
// !!! WARNING !!!
diff --git a/src/database/database-postgresql.cpp b/src/database/database-postgresql.cpp
index d7c94ff15..77385e240 100644
--- a/src/database/database-postgresql.cpp
+++ b/src/database/database-postgresql.cpp
@@ -36,8 +36,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "debug.h"
#include "exceptions.h"
#include "settings.h"
-#include "content_sao.h"
#include "remoteplayer.h"
+#include "server/player_sao.h"
Database_PostgreSQL::Database_PostgreSQL(const std::string &connect_string) :
m_connect_string(connect_string)
diff --git a/src/database/database-sqlite3.cpp b/src/database/database-sqlite3.cpp
index 1bacdfe6c..4560743b9 100644
--- a/src/database/database-sqlite3.cpp
+++ b/src/database/database-sqlite3.cpp
@@ -33,8 +33,8 @@ SQLite format specification:
#include "settings.h"
#include "porting.h"
#include "util/string.h"
-#include "content_sao.h"
#include "remoteplayer.h"
+#include "server/player_sao.h"
#include <cassert>