mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
refactor(Core): apply clang-tidy modernize-* (#9975)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -47,8 +47,8 @@ class MySQLConnection;
|
||||
class AC_DATABASE_API SQLOperation
|
||||
{
|
||||
public:
|
||||
SQLOperation(): m_conn(nullptr) { }
|
||||
virtual ~SQLOperation() { }
|
||||
SQLOperation() = default;
|
||||
virtual ~SQLOperation() = default;
|
||||
|
||||
virtual int call()
|
||||
{
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
virtual bool Execute() = 0;
|
||||
virtual void SetConnection(MySQLConnection* con) { m_conn = con; }
|
||||
|
||||
MySQLConnection* m_conn;
|
||||
MySQLConnection* m_conn{nullptr};
|
||||
|
||||
private:
|
||||
SQLOperation(SQLOperation const& right) = delete;
|
||||
|
||||
Reference in New Issue
Block a user