aboutsummaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-03 22:52:53 +0100
committerGravatar Sadie Powell2022-09-03 23:17:05 +0100
commit9203f40f41e4a735d379d13867d277c696fb28c5 (patch)
tree93a171344e801b44918229fdd6b8778293ab88aa /src/modulemanager.cpp
parentFix some warnings noticed by the bugprone-* clang-tidy checkers. (diff)
Fix some warnings noticed by the readability-* clang-tidy checkers.
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 67b5ec2a5..fe5e806af 100644
--- a/src/modulemanager.cpp
+++ b/src/modulemanager.cpp
@@ -60,7 +60,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer)
}
Module* newmod = nullptr;
- DLLManager* newhandle = new DLLManager(moduleFile.c_str());
+ DLLManager* newhandle = new DLLManager(moduleFile);
ServiceList newservices;
if (!defer)
this->NewServices = &newservices;