aboutsummaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-07-22 18:33:38 +0100
committerGravatar Sadie Powell2022-07-22 18:53:21 +0100
commit648f813f8c89e6e7d0ed5bda2c2149bee2babb09 (patch)
tree5357669e57bb381c80bfdbd24ed4057a99db8e5b /src/modulemanager.cpp
parentUpdate author list. (diff)
Switch from NULL to nullptr.
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r--src/modulemanager.cpp6
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)