diff options
| author | 2022-07-22 18:33:38 +0100 | |
|---|---|---|
| committer | 2022-07-22 18:53:21 +0100 | |
| commit | 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch) | |
| tree | 5357669e57bb381c80bfdbd24ed4057a99db8e5b /src/modulemanager.cpp | |
| parent | Update author list. (diff) | |
Switch from NULL to nullptr.
Diffstat (limited to 'src/modulemanager.cpp')
| -rw-r--r-- | src/modulemanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 516ce94f8..969a65d1e 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -60,7 +60,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer) return false; } - Module* newmod = NULL; + Module* newmod = nullptr; DLLManager* newhandle = new DLLManager(moduleFile.c_str()); ServiceList newservices; if (!defer) @@ -69,7 +69,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer) try { newmod = newhandle->CallInit(); - this->NewServices = NULL; + this->NewServices = nullptr; if (newmod) { @@ -105,7 +105,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer) } catch (CoreException& modexcept) { - this->NewServices = NULL; + this->NewServices = nullptr; // failure in module constructor if (newmod) |
