Skip to content
Snippets Groups Projects
Unverified Commit bcecb8a8 authored by Hauke Jürgen Mönck's avatar Hauke Jürgen Mönck Committed by GitHub
Browse files

Fixed searchDirectoriesForPlugins

replace_extension() operates in-place. Hence searchDirectoriesForPlugins was previously returning the path without the suffix (e.g. .dll) due to it being removed by replace_extension in the if statement
parent a3699795
No related branches found
No related tags found
No related merge requests found
Pipeline #14060 passed
Pipeline: biotracker

#14096

    ......@@ -211,7 +211,7 @@ std::vector<std::string> PluginLoader::searchDirectoriesForPlugins(std::vector<s
    auto p = e.path();
    if (is_shared_library(p) && p.replace_extension().extension() == suffix)
    {
    filesFromFolders.push_back(p.string());
    filesFromFolders.push_back(e.path().string());
    }
    }
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment