aboutsummaryrefslogtreecommitdiff
path: root/src/server/database/Database/MySQLConnection.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-04-06 17:46:58 +0200
committerShauren <shauren.trinity@gmail.com>2023-04-06 17:46:58 +0200
commit7b310802583a96dd32841bc396a119fca833e2d4 (patch)
tree990da6afe067b13ad0f24e33ed33c15adc5ad55d /src/server/database/Database/MySQLConnection.h
parent74c280da9eac16c5d4a875ff2ea5aa30034ff1dd (diff)
Core/Misc: Modernize code a bit by replacing std::tie with either structured bindings or operator<=>
Diffstat (limited to 'src/server/database/Database/MySQLConnection.h')
-rw-r--r--src/server/database/Database/MySQLConnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Database/MySQLConnection.h b/src/server/database/Database/MySQLConnection.h
index 2dad920cdd5..63fcc03141b 100644
--- a/src/server/database/Database/MySQLConnection.h
+++ b/src/server/database/Database/MySQLConnection.h
@@ -92,7 +92,7 @@ class TC_DATABASE_API MySQLConnection
uint32 GetServerVersion() const;
MySQLPreparedStatement* GetPreparedStatement(uint32 index);
- void PrepareStatement(uint32 index, std::string const& sql, ConnectionFlags flags);
+ void PrepareStatement(uint32 index, std::string_view sql, ConnectionFlags flags);
virtual void DoPrepareStatements() = 0;