mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 07:17:16 +00:00
NULL to nullptr
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
||||
/**
|
||||
* Constructor, sets our database to null.
|
||||
*/
|
||||
DatabaseMySQL() { db = NULL; }
|
||||
DatabaseMySQL() { db = nullptr; }
|
||||
|
||||
/**
|
||||
* Constructor, tries to set our database to connect to the supplied options.
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
/**
|
||||
* @return Returns true if the database successfully connected.
|
||||
*/
|
||||
virtual bool IsConnected() { return (db != NULL); }
|
||||
virtual bool IsConnected() { return (db != nullptr); }
|
||||
|
||||
/**
|
||||
* Retrieves the login data (password hash and account id) from the account name provided
|
||||
|
||||
Reference in New Issue
Block a user