From 02a05fbd4c640b33b1e03075681f169db2fb6ab2 Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Wed, 31 Jul 2024 01:06:46 +0200 Subject: refactor(src/common): remove unused imports (#19506) * refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build --- src/server/database/Database/MySQLConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/database/Database/MySQLConnection.cpp') diff --git a/src/server/database/Database/MySQLConnection.cpp b/src/server/database/Database/MySQLConnection.cpp index a77f78d075..54c393c75b 100644 --- a/src/server/database/Database/MySQLConnection.cpp +++ b/src/server/database/Database/MySQLConnection.cpp @@ -464,7 +464,7 @@ int MySQLConnection::ExecuteTransaction(std::shared_ptr transac return 0; } -size_t MySQLConnection::EscapeString(char* to, const char* from, size_t length) +std::size_t MySQLConnection::EscapeString(char* to, const char* from, std::size_t length) { return mysql_real_escape_string(m_Mysql, to, from, length); } -- cgit v1.2.3