NULL to nullptr

This commit is contained in:
Arthur Ice
2013-05-04 18:06:58 -07:00
parent e1c2657b11
commit 7560b6b0a7
216 changed files with 4151 additions and 4151 deletions
+2 -2
View File
@@ -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