mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
NULL to nullptr
This commit is contained in:
+2
-2
@@ -37,14 +37,14 @@ class ZoneConfig : public EQEmuConfig {
|
||||
|
||||
// Produce a const singleton
|
||||
static const ZoneConfig *get() {
|
||||
if (_zone_config == NULL)
|
||||
if (_zone_config == nullptr)
|
||||
LoadConfig();
|
||||
return(_zone_config);
|
||||
}
|
||||
|
||||
// Load the config
|
||||
static bool LoadConfig() {
|
||||
if (_zone_config != NULL)
|
||||
if (_zone_config != nullptr)
|
||||
delete _zone_config;
|
||||
_zone_config=new ZoneConfig;
|
||||
_config=_zone_config;
|
||||
|
||||
Reference in New Issue
Block a user