aboutsummaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-04 01:26:58 +0100
committerGravatar Sadie Powell2022-09-04 01:26:58 +0100
commitef594e2f9e2be8d1b3f8e9be64efad8afee2a909 (patch)
treeafec34edcb97f47797cd117e1baeb4e1e9b82344 /src/modulemanager.cpp
parentEncourage people to submit patches for weird platforms. (diff)
Fix unnecessarily using c_str in parameters that take a std::string.
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r--src/modulemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp
index fad415fcd..987cbb04c 100644
--- a/src/modulemanager.cpp
+++ b/src/modulemanager.cpp
@@ -54,7 +54,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer)
}
Module* newmod = NULL;
- DLLManager* newhandle = new DLLManager(moduleFile.c_str());
+ DLLManager* newhandle = new DLLManager(moduleFile);
ServiceList newservices;
if (!defer)
this->NewServices = &newservices;