Fix inaccurate log message

This commit is contained in:
Oliver Hamlet
2024-08-22 08:31:33 +01:00
parent 6a5e96b597
commit 88d5f2b484
+2 -2
View File
@@ -170,7 +170,7 @@ std::vector<std::string> LoadOrderHandler::GetActivePlugins() const {
std::vector<std::string> LoadOrderHandler::GetEarlyLoadingPlugins() const {
auto logger = getLogger();
if (logger) {
logger->trace("Getting implicitly active plugins.");
logger->trace("Getting early loading plugins.");
}
char** pluginArr = nullptr;
@@ -179,7 +179,7 @@ std::vector<std::string> LoadOrderHandler::GetEarlyLoadingPlugins() const {
const unsigned int ret =
lo_get_early_loading_plugins(gh_.get(), &pluginArr, &pluginArrSize);
HandleError("get implicitly active plugins", ret);
HandleError("get early loading plugins", ret);
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic)
std::vector<std::string> loadOrder(pluginArr, pluginArr + pluginArrSize);