Skip to content
Snippets Groups Projects
Commit 5e89fa75 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Ignore plugins with names "core", "wolf" and ""

parent 2065e9ef
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,7 @@ ProblemPtr Problem::autoSetup(ParamsServer &_server)
plugins_path="/usr/local/lib/iri-algorithms/";
}
for (auto plugin_name : _server.getParam<std::vector<std::string>>("plugins")) {
if (plugin_name == "core" or plugin_name == "wolf" or plugin_name == "") continue; // ignore plugin "core"
std::string plugin = plugins_path + "libwolf" + plugin_name + lib_extension;
WOLF_TRACE("Loading plugin " + plugin);
auto l = new LoaderRaw(plugin);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment