mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +00:00
NULL to nullptr
This commit is contained in:
@@ -204,7 +204,7 @@ public:
|
||||
|
||||
// Produce a const singleton
|
||||
static const EQEmuConfig *get() {
|
||||
if (_config == NULL)
|
||||
if (_config == nullptr)
|
||||
LoadConfig();
|
||||
return(_config);
|
||||
}
|
||||
@@ -214,7 +214,7 @@ public:
|
||||
|
||||
// Load the config
|
||||
static bool LoadConfig() {
|
||||
if (_config != NULL)
|
||||
if (_config != nullptr)
|
||||
delete _config;
|
||||
_config=new EQEmuConfig;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user